From: borutr Date: Sat, 4 Mar 2006 23:41:54 +0000 (+0000) Subject: * support/regression/ports/hc08/spec.mk: remove *.asm in traget _clean X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=4d5db39fa049832d2d4e53ed9eb972a70024b859;p=fw%2Fsdcc * support/regression/ports/hc08/spec.mk: remove *.asm in traget _clean * support/regression/tests/bug-524697.c: decreased array size for mcs51 to fit into the internal RAM * support/regression/Makefile.in: a little bit more verbose git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4050 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index e70abe4d..53c0c85c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,12 @@ -2006-03-02 Borut Razem +2006-03-04 Borut Razem + + * support/regression/ports/hc08/spec.mk: remove *.asm in traget + _clean + * support/regression/tests/bug-524697.c: decreased array size for + mcs51 to fit into the internal RAM + * support/regression/Makefile.in: a little bit more verbose + +2006-03-03 Borut Razem * support/regression/fwk/lib/testfwk.c, support/regression/fwk/include/testfwk.h: introduced function diff --git a/support/regression/Makefile.in b/support/regression/Makefile.in index 0c5e55dc..c302eef2 100644 --- a/support/regression/Makefile.in +++ b/support/regression/Makefile.in @@ -115,6 +115,10 @@ test-hc08: test-xa51: $(MAKE) test-port PORT=xa51 +# Helper rule for testing the pic16 port only(use gpsim simulator) +test-pic16: + $(MAKE) test-port PORT=pic16 + ### Helper rule for testing the host cc only test-host: $(MAKE) test-port PORT=host @@ -178,9 +182,11 @@ $(PORT_RESULTS_DIR)/%.out: $(PORT_CASES_DIR)/%/iterations.stamp # have been run. port-results: port-dirs $(PORT_RESULTS) echo Summary for \'$(PORT)\': `cat $(PORT_RESULTS) | python collate-results.py` + echo port-dirs: mkdir -p $(PORT_CASES_DIR) $(PORT_RESULTS_DIR) + echo Running $(PORT) regression tests test-port: port-results diff --git a/support/regression/ports/hc08/spec.mk b/support/regression/ports/hc08/spec.mk index 27d1b698..9cb3f958 100644 --- a/support/regression/ports/hc08/spec.mk +++ b/support/regression/ports/hc08/spec.mk @@ -40,5 +40,5 @@ $(PORTS_DIR)/$(PORT)/%$(OBJEXT): fwk/lib/%.c fwk/lib/timeout: fwk/lib/timeout.c _clean: - rm -f ports/$(PORT)/testfwk.asm ports/$(PORT)/*.lst ports/$(PORT)/*.rel ports/$(PORT)/*.sym + rm -f ports/$(PORT)/*.asm ports/$(PORT)/*.lst ports/$(PORT)/*.rel ports/$(PORT)/*.sym diff --git a/support/regression/tests/bug-524697.c b/support/regression/tests/bug-524697.c index 6f2eadea..c616ae62 100644 --- a/support/regression/tests/bug-524697.c +++ b/support/regression/tests/bug-524697.c @@ -2,9 +2,15 @@ */ #include +#if defined(SDCC_mcs51) +#define SZ_SIZE 89 +#else +#define SZ_SIZE 90 +#endif + typedef struct _Foo { - char sz[90]; + char sz[SZ_SIZE]; } Foo; typedef struct _Bar