Commit 758fbbe2 authored by Simon Sobisch's avatar Simon Sobisch

Test runner adjustments

follow-up to ab3f2aa0 (only partial commit)
parent b210ba5e
......@@ -26,12 +26,12 @@ all:
@echo "Your choices are 'make known-good' and 'make test' and 'make testprod'"
known-good:
COBCDEVEL=1 $(COBCD) -x test.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -x test.cbl
CPRINT_RAISE=0 COBCDRW=$(COBCDRW) $(GDB) --batch -x ../../python/cobcd.py -x test.scr > known-good.txt
$(PYTHON) ../strip-diff known-good.txt >$(knowngood).stripped
test:
COBCDEVEL=1 $(COBCD) -x test.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -x test.cbl
CPRINT_RAISE=0 COBCDRW=$(COBCDRW) $(GDB) --batch -x ../../python/cobcd.py -x test.scr > under-test.txt
$(PYTHON) ../strip-diff under-test.txt >under-test.stripped
diff -uw $(knowngood).stripped under-test.stripped
......
PYTHON?=/usr/bin/python3
COBCD?=$(PYTHON) ../../cobcd
COBCDRW?=../../cobcd-rw/cobcd-rws
GDB?=gdb
# For reasons that remain unknown -- probably because of the older
......@@ -27,12 +28,12 @@ all:
@echo "Your choices are 'make known-good' and 'make test' and 'make testprod'"
known-good:
COBCDEVEL=1 $(COBCD) -x test.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -x test.cbl
CPRINT_RAISE=0 COBCDRW=$(COBCDRW) $(GDB) --batch -x ../../python/cobcd.py -x test.scr > known-good.txt
$(PYTHON) ../strip-diff known-good.txt >$(knowngood).stripped
test:
COBCDEVEL=1 $(COBCD) -x test.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -x test.cbl
CPRINT_RAISE=0 COBCDRW=$(COBCDRW) $(GDB) --batch -x ../../python/cobcd.py -x test.scr > under-test.txt
$(PYTHON) ../strip-diff under-test.txt >under-test.stripped
diff -uw $(knowngood).stripped under-test.stripped
......
PYTHON?=/usr/bin/python3
COBCD?=$(PYTHON) ../../cobcd
COBCDRW?=../../cobcd-rw/cobcd-rw
GDB?=gdb
# For reasons that remain unknown -- probably because of the older
......@@ -28,18 +29,18 @@ all:
# way to override it from inside the GDB test.scr script.
known-good:
COBCDEVEL=1 $(COBCD) -o test -x MAIN.cbl
COBCDEVEL=1 $(COBCD) -m A.cbl
COBCDEVEL=1 $(COBCD) -m B.cbl
COBCDEVEL=1 $(COBCD) -m C.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -o test -x MAIN.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -m A.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -m B.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -m C.cbl
CPRINT_RAISE=0 CPRINT_V=3 COBCDRW=$(COBCDRW) $(GDB) --batch -x test.scr > known-good.txt
$(PYTHON) ../strip-diff known-good.txt >$(knowngood).stripped
test:
COBCDEVEL=1 $(COBCD) -o test -x MAIN.cbl
COBCDEVEL=1 $(COBCD) -m A.cbl
COBCDEVEL=1 $(COBCD) -m B.cbl
COBCDEVEL=1 $(COBCD) -m C.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -o test -x MAIN.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -m A.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -m B.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -m C.cbl
CPRINT_RAISE=0 CPRINT_V=3 COBCDRW=$(COBCDRW) $(GDB) --batch -x test.scr > under-test.txt
$(PYTHON) ../strip-diff under-test.txt >under-test.stripped
diff -uw $(knowngood).stripped under-test.stripped
......
PYTHON?=/usr/bin/python3
COBCD?=$(PYTHON) ../../cobcd
COBCDRW?=../../cobcd-rw/cobcd-rw
GDB?=gdb
# For reasons that remain unknown -- probably because of the older
......@@ -25,12 +26,12 @@ all:
@echo "Your choices are 'make known-good' and 'make test' and 'make testprod'"
known-good:
COBCDEVEL=1 $(COBCD) -x test.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -x test.cbl
CPRINT_RAISE=0 COBCDRW=$(COBCDRW) $(GDB) --batch -x ../../python/cobcd.py -x test.scr > known-good.txt
$(PYTHON) ../strip-diff known-good.txt >$(knowngood).stripped
test:
COBCDEVEL=1 $(COBCD) -x test.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -x test.cbl
CPRINT_RAISE=0 COBCDRW=$(COBCDRW) $(GDB) --batch -x ../../python/cobcd.py -x test.scr > under-test.txt
$(PYTHON) ../strip-diff under-test.txt >under-test.stripped
diff -uw $(knowngood).stripped under-test.stripped
......
PYTHON?=/usr/bin/python3
COBCD?=$(PYTHON) ../../cobcd
COBCDRW?=../../cobcd-rw/cobcd-rw
GDB?=gdb
# For reasons that remain unknown -- probably because of the older
......@@ -25,12 +26,12 @@ all:
@echo "Your choices are 'make known-good' and 'make test' and 'make testprod'"
known-good:
COBCDEVEL=1 $(COBCD) -x test.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -x test.cbl
CPRINT_RAISE=0 COBCDRW=$(COBCDRW) $(GDB) --batch -x ../../python/cobcd.py -x test.scr > known-good.txt
$(PYTHON) ../strip-diff known-good.txt >$(knowngood).stripped
test:
COBCDEVEL=1 $(COBCD) -x test.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -x test.cbl
CPRINT_RAISE=0 COBCDRW=$(COBCDRW) $(GDB) --batch -x ../../python/cobcd.py -x test.scr > under-test.txt
$(PYTHON) ../strip-diff under-test.txt >under-test.stripped
diff -uw $(knowngood).stripped under-test.stripped
......
PYTHON?=/usr/bin/python3
COBCD?=$(PYTHON) ../../cobcd
COBCDRW?=../../cobcd-rw/cobcd-rw
GDB?=gdb
UNAME_O := $(shell uname -o)
......@@ -36,7 +37,7 @@ all:
@echo "Your choices are 'make known-good' and 'make test' and 'make testprod'"
known-good:
COBCDEVEL=1 $(COBCD) -x test.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -x test.cbl
ifeq ($(gdbmajor),7)
@echo "This function is suppressed in systems with GDB-7"
else
......@@ -45,7 +46,7 @@ else
endif
test:
COBCDEVEL=1 $(COBCD) -x test.cbl
COBCDEVEL=1 COBCDFMODE=0 $(COBCD) -x test.cbl
ifeq ($(gdbmajor),7)
@echo "This function is suppressed in systems with GDB-7"
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment