File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -292,8 +292,10 @@ test_runall (bool verbose)
292
292
continue;
293
293
if (!item->subtest)
294
294
item->test (verbose);
295
+ #ifdef $(PROJECT.PREFIX)_BUILD_DRAFT_API // selftest is still in draft
295
296
else
296
297
$(project.prefix)_private_selftest (verbose, item->subtest);
298
+ #endif // $(PROJECT.PREFIX)_BUILD_DRAFT_API
297
299
}
298
300
299
301
printf ("Tests passed OK\\n");
@@ -393,8 +395,10 @@ main (int argc, char **argv)
393
395
printf ("Running $(project.name) test '%s'...\\n", test->testname);
394
396
if (!test->subtest)
395
397
test->test (verbose);
398
+ #ifdef $(PROJECT.PREFIX)_BUILD_DRAFT_API // selftest is still in draft
396
399
else
397
400
$(project.prefix)_private_selftest (verbose, test->subtest);
401
+ #endif // $(PROJECT.PREFIX)_BUILD_DRAFT_API
398
402
}
399
403
else
400
404
test_runall (verbose);
You can’t perform that action at this time.
0 commit comments