Closed andigor closed 3 years ago
Define TEST_NO_MAIN prior including acutest.h in all the compilation units but one.
TEST_NO_MAIN
acutest.h
(Or alternatively, propagate it from your build system via compiler's command line option, typically -DTEST_NO_MAIN, and #undef it in exactly one compilation unit.)
-DTEST_NO_MAIN
#undef
Define
TEST_NO_MAIN
prior includingacutest.h
in all the compilation units but one.(Or alternatively, propagate it from your build system via compiler's command line option, typically
-DTEST_NO_MAIN
, and#undef
it in exactly one compilation unit.)