]> xenbits.xensource.com Git - people/liuw/rumprun.git/commitdiff
g/c old cruft
authorAntti Kantee <pooka@iki.fi>
Wed, 6 May 2015 10:07:09 +0000 (10:07 +0000)
committerAntti Kantee <pooka@iki.fi>
Wed, 6 May 2015 10:07:09 +0000 (10:07 +0000)
Tester mode is now selected at execute-time via args, so we can g/c the
old RUMPRUN_TEST=no method.

lib/librumprun_tester/tester.h
tests/Makefile.inc

index 3c87d6680847c4c4d9491a58ded874600132ce70..cfc4de73ac0a86cb7ad8aff9d0719e346b1e81b1 100644 (file)
@@ -26,9 +26,6 @@
 #ifndef _BMK_BASE_RUMPRUN_TEST_H_
 #define _BMK_BASE_RUMPRUN_TEST_H_
 
-#ifdef RUMPRUN_TESTER_JUSTMAIN
-#define rumprun_test(_a1_,_a2_) main(_a1_,_a2_)
-#endif
 int rumprun_test(int, char **);
 
 #endif /* _BMK_BASE_RUMPRUN_TEST_H_ */
index 5b3117810dfa32bf7779cd1b5968e4b371952c38..8ed76bce662281c480deaec9df59f24eb453dac6 100644 (file)
@@ -1,6 +1,2 @@
 CFLAGS+= -Wall -Werror -Wmissing-prototypes -Wstrict-prototypes -g
-ifeq (${RUMPRUN_TEST},no)
-CPPFLAGS+= -DRUMPRUN_TESTER_JUSTMAIN
-else
 LDFLAGS= -lrumprun_tester
-endif