9d10c9d
From e3ee582fcf74e0754d2a850fbabe270125e334e8 Mon Sep 17 00:00:00 2001
9d10c9d
From: ellie timoney <ellie@fastmail.com>
9d10c9d
Date: Wed, 31 May 2017 10:56:27 +1000
9d10c9d
Subject: [PATCH] cunit: run cyrusdb tests first
9d10c9d
9d10c9d
Other suites depend on cyrusdb functionality so if it's broken, it
9d10c9d
would be good to know that before they start complaining.
9d10c9d
---
9d10c9d
 Makefile.am                      | 2 +-
9d10c9d
 cunit/{db.testc => aaa-db.testc} | 0
9d10c9d
 doc/internal/unit-tests.html     | 2 +-
9d10c9d
 3 files changed, 2 insertions(+), 2 deletions(-)
9d10c9d
 rename cunit/{db.testc => aaa-db.testc} (100%)
9d10c9d
9d10c9d
diff --git a/Makefile.am b/Makefile.am
9d10c9d
index e37822aac..c2c82d15d 100644
9d10c9d
--- a/Makefile.am
9d10c9d
+++ b/Makefile.am
9d10c9d
@@ -618,6 +618,7 @@ cunit_FRAMEWORK = \
9d10c9d
 	cunit/timeofday.h
9d10c9d
 
9d10c9d
 cunit_TESTS = \
9d10c9d
+	cunit/aaa-db.testc \
9d10c9d
 	cunit/annotate.testc \
9d10c9d
 	cunit/backend.testc \
9d10c9d
 	cunit/binhex.testc \
9d10c9d
@@ -628,7 +629,6 @@ cunit_TESTS = \
9d10c9d
 	cunit/command.testc \
9d10c9d
 	cunit/conversations.testc \
9d10c9d
 	cunit/crc32.testc \
9d10c9d
-	cunit/db.testc \
9d10c9d
 	cunit/dlist.testc \
9d10c9d
 	cunit/duplicate.testc \
9d10c9d
 	cunit/getxstring.testc \
9d10c9d
diff --git a/cunit/db.testc b/cunit/aaa-db.testc
9d10c9d
similarity index 100%
9d10c9d
rename from cunit/db.testc
9d10c9d
rename to cunit/aaa-db.testc
9d10c9d
diff --git a/doc/internal/unit-tests.html b/doc/internal/unit-tests.html
9d10c9d
index a2c490dfb..75a945853 100644
9d10c9d
--- a/doc/internal/unit-tests.html
9d10c9d
+++ b/doc/internal/unit-tests.html
9d10c9d
@@ -452,6 +452,7 @@
9d10c9d
 of the <tt>cunit_TESTS</tt> variable.

9d10c9d
 
9d10c9d
 
cunit_TESTS = \
9d10c9d
+        cunit/aaa-db.testc \
9d10c9d
         cunit/annotate.testc \
9d10c9d
         cunit/backend.testc \
9d10c9d
         cunit/binhex.testc \
9d10c9d
@@ -460,7 +461,6 @@
9d10c9d
         cunit/byteorder64.testc \
9d10c9d
         cunit/charset.testc \
9d10c9d
         cunit/crc32.testc \
9d10c9d
-        cunit/db.testc \
9d10c9d
         cunit/dlist.testc \
9d10c9d
         cunit/duplicate.testc \
9d10c9d