chiark / gitweb /
utils/macros.h: Support for compiler-specific annotations.
[mLib] / test / testrig.h
index 7a7fdb35c49b284d3c16d3848a7de653af831a38..b37aa15164228cc3194673f28ffad509498aa1d0 100644 (file)
 #  include "dstr.h"
 #endif
 
+#ifndef MLIB_MACROS_H
+#  include "macros.h"
+#endif
+
 /*----- Magical numbers ---------------------------------------------------*/
 
 #define TEST_FIELDMAX 16               /* Maximum fields in a line */
@@ -115,9 +119,10 @@ extern int test_do(const test_suite /*suite*/[],
  *             working properly.
  */
 
-extern void test_run(int /*argc*/, char */*argv*/[],
-                    const test_chunk /*chunk*/[],
-                    const char */*def*/);
+extern void NORETURN
+  test_run(int /*argc*/, char */*argv*/[],
+          const test_chunk /*chunk*/[],
+          const char */*def*/);
 
 /*----- That's all, folks -------------------------------------------------*/