Tests: Fix test plans and do not skip on fail
[babeltrace.git] / tests / lib / test_bt_values.c
index 284f9e68648f09ab100cbfb8b022e8467b95fe3b..34fbc82cef448983be2d4dec9973739c605a42db 100644 (file)
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #include <babeltrace/values.h>
 #include <assert.h>
 #include <string.h>
 #include "tap/tap.h"
 
+#define NR_TESTS 238
+
 static
 void test_null(void)
 {
@@ -1155,7 +1156,7 @@ void test_freeze(void)
 
 int main(void)
 {
-       plan_no_plan();
+       plan_tests(NR_TESTS);
 
        test_macros();
        test_freeze();
This page took 0.023558 seconds and 4 git commands to generate.