* support/regression/ports/hc08/spec.mk: remove *.asm in traget _clean
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 4 Mar 2006 23:41:54 +0000 (23:41 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 4 Mar 2006 23:41:54 +0000 (23:41 +0000)
* 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

ChangeLog
support/regression/Makefile.in
support/regression/ports/hc08/spec.mk
support/regression/tests/bug-524697.c

index e70abe4df289d48ef6bd5600f5891d359cb38af1..53c0c85cd1b7fdd73bb7085d90e4d1b528d18441 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,12 @@
-2006-03-02 Borut Razem <borut.razem AT siol.net>
+2006-03-04 Borut Razem <borut.razem AT siol.net>
+
+       * 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 <borut.razem AT siol.net>
 
        * support/regression/fwk/lib/testfwk.c,
          support/regression/fwk/include/testfwk.h: introduced function
index 0c5e55dca3c50f16eaa9f620872b378508972fb5..c302eef25b25ec9601bc20e491755829e1ca2986 100644 (file)
@@ -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
 
index 27d1b698e12455a6017978f98b74a1d24ae2d39e..9cb3f95890a78786e26e884af0701f7835e39f40 100644 (file)
@@ -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
 
index 6f2eadea6f58c904ec1f6a3c6213257542c00bf6..c616ae6249ac773cde2b04e11106f492222a6a12 100644 (file)
@@ -2,9 +2,15 @@
  */
 #include <testfwk.h>
 
+#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