Blob Blame History Raw
From e3ee582fcf74e0754d2a850fbabe270125e334e8 Mon Sep 17 00:00:00 2001
From: ellie timoney <ellie@fastmail.com>
Date: Wed, 31 May 2017 10:56:27 +1000
Subject: [PATCH] cunit: run cyrusdb tests first

Other suites depend on cyrusdb functionality so if it's broken, it
would be good to know that before they start complaining.
---
 Makefile.am                      | 2 +-
 cunit/{db.testc => aaa-db.testc} | 0
 doc/internal/unit-tests.html     | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename cunit/{db.testc => aaa-db.testc} (100%)

diff --git a/Makefile.am b/Makefile.am
index e37822aac..c2c82d15d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -618,6 +618,7 @@ cunit_FRAMEWORK = \
 	cunit/timeofday.h
 
 cunit_TESTS = \
+	cunit/aaa-db.testc \
 	cunit/annotate.testc \
 	cunit/backend.testc \
 	cunit/binhex.testc \
@@ -628,7 +629,6 @@ cunit_TESTS = \
 	cunit/command.testc \
 	cunit/conversations.testc \
 	cunit/crc32.testc \
-	cunit/db.testc \
 	cunit/dlist.testc \
 	cunit/duplicate.testc \
 	cunit/getxstring.testc \
diff --git a/cunit/db.testc b/cunit/aaa-db.testc
similarity index 100%
rename from cunit/db.testc
rename to cunit/aaa-db.testc
diff --git a/doc/internal/unit-tests.html b/doc/internal/unit-tests.html
index a2c490dfb..75a945853 100644
--- a/doc/internal/unit-tests.html
+++ b/doc/internal/unit-tests.html
@@ -452,6 +452,7 @@
 of the <tt>cunit_TESTS</tt> variable.</p>
 
 <blockquote class="src">cunit_TESTS = \
+        cunit/aaa-db.testc \
         cunit/annotate.testc \
         cunit/backend.testc \
         cunit/binhex.testc \
@@ -460,7 +461,6 @@
         cunit/byteorder64.testc \
         cunit/charset.testc \
         cunit/<b>crc32</b>.testc \
-        cunit/db.testc \
         cunit/dlist.testc \
         cunit/duplicate.testc \
 </blockquote>