cvsuser 03/08/16 05:42:01
Modified: config/auto gcc.pl
config/gen/makefiles imcc.in root.in
Log:
23334: test imcc too by Andy Bussey
Revision Changes Path
1.8 +1 -1 parrot/config/auto/gcc.pl
Index: gcc.pl
===================================================================
RCS file: /cvs/public/parrot/config/auto/gcc.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -r1.7 -r1.8
--- gcc.pl 9 Aug 2003 07:21:58 -0000 1.7
+++ gcc.pl 16 Aug 2003 12:42:00 -0000 1.8
@@ -56,7 +56,7 @@
# An example is Solaris 8.
my @opt_and_vers =
- (0 => "-Larry -Wall -Wstrict-prototypes -Wmissing-prototypes -Winline
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return
-Winline -W -Wno-unused",
+ (0 => "-Dan_Sugalski -Larry -Wall -Wstrict-prototypes -Wmissing-prototypes
-Winline -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Waggregate-return -Winline -W -Wno-unused",
# others; ones we might like marked with ?
# ? -Wundef for undefined idenfiers in #if
# ? -Wbad-function-cast
1.27 +5 -1 parrot/config/gen/makefiles/imcc.in
Index: imcc.in
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/imcc.in,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -w -r1.26 -r1.27
--- imcc.in 30 Jul 2003 13:42:46 -0000 1.26
+++ imcc.in 16 Aug 2003 12:42:01 -0000 1.27
@@ -46,7 +46,11 @@
${make_set_make}
-all : imcc${exe}
+all : flags_dummy imcc${exe}
+
+flags_dummy:
+ echo Compiling with:
+ echo $(CC) $(CFLAGS) xx$(O) -c xx.c
../../$(PARROTLIB):
cd ..${slash}.. && $(MAKE) $(PARROTLIB) && cd languages${slash}imcc
1.111 +16 -3 parrot/config/gen/makefiles/root.in
Index: root.in
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/root.in,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -w -r1.110 -r1.111
--- root.in 15 Aug 2003 15:49:00 -0000 1.110
+++ root.in 16 Aug 2003 12:42:01 -0000 1.111
@@ -203,7 +203,11 @@
.c$(O) :
@$(PERL) tools/dev/cc_flags.pl ./CFLAGS $(CC) $(CFLAGS) ${cc_o_out}$@ -c $<
-all : $(TEST_PROG) $(IMCC_PROG) docs
+all : flags_dummy $(TEST_PROG) $(IMCC_PROG) docs
+
+flags_dummy:
+ echo Compiling with:
+ echo $(CC) $(CFLAGS) xx$(O) -c xx.c
mops : examples/assembly/mops${exe} examples/mops/mops${exe}
@@ -566,9 +570,9 @@
# to disable GC_DEBUG.
EXTRA_TEST_ARGS = --gc-debug --running-make-test
-test : $(TEST_PROG) test_prep test_dummy
+test : $(TEST_PROG) test_prep test_dummy test_imcc
-fulltest : $(TEST_PROG) test_prep fulltest_dummy
+fulltest : $(TEST_PROG) test_prep fulltest_dummy fulltest_imcc
.PHONY: fulltest_dummy
fulltest_dummy :
@@ -612,6 +616,15 @@
lifetest : $(TEST_PROG) examples/assembly/life.pbc
$(TEST_PROG) $(TEST_PROG_ARGS) examples/assembly/life.pbc
+
+test_imcc :
+ cd languages/imcc && $(PERL) t/harness && cd ../..
+
+fulltest_imcc :
+ cd languages/imcc && $(PERL) t/harness && cd ../..
+ cd languages/imcc && $(PERL) t/harness -j && cd ../..
+ cd languages/imcc && $(PERL) t/harness -P && cd ../..
+ cd languages/imcc && $(PERL) t/harness -b && cd ../..
# For reporting success or failure with different configurations
ok: