- And'ing with a constant works (again).
[fw/sdcc] / src / regression / Makefile
index fd8001aabd4f7dfa188e324ac7c1435cb8d7f0a5..3b740b23f3776ab2692403ce38d600b8399b4e55 100644 (file)
@@ -1,5 +1,10 @@
 # Regression testing Makefile for Pic Port of SDCC
 #
+# note that this regression suite was started before
+# the one in sdcc/regression. The regression suite in
+# sdcc/regression is better suited for testing mature
+# ports.
+#
 # GPL'd
 #
 # T. Scott Dattalo scott@dattalo.com
@@ -58,6 +63,7 @@ SRC = b.c \
        add.c \
        add2.c \
        add3.c \
+       and1.c \
        bool1.c \
        call1.c \
        compare.c \
@@ -96,6 +102,8 @@ all: test
 # The .stc files are script files for gpsim
 .cod.stc:
        ./$(CREATESTC) $*.cod $*.stc
+       echo "Created $*.stc"
+       ./$(SIMULATE) $*.stc $(LOGFILE)
 
 # this will also make .stc files
 #%.stc : %.cod
@@ -111,12 +119,6 @@ asm : $(ASM)
 stc : $(STC)
 
 test:  $(STC)
-       if [ -n "$(STC)" ]; then \
-       stcfiles="$(STC)" ; \
-       for f in $$stcfiles ; do \
-         ./$(SIMULATE) $$f $(LOGFILE); \
-       done ; \
-       fi
        echo "Done - Results are in $(LOGFILE)"
 
 cleancod: