Commit 495caf6f authored by rdubner's avatar rdubner

Incorporate Sjaak's Version 4.17

parent 0bd3cb9a
......@@ -55,7 +55,8 @@ install:
# If requested adjust default COBCDFMODE
@if [ X"$(COBCDFMODE)" != X"" ] ; then sed -i "s#@COBCDFMODE@#$(COBCDFMODE)#" $(DESTDIR)$(prefix)/bin/cobcd ; fi
# If requested adjust default CPRINT command
@if [ X"$(CPRINT)" != X"" ] ; then sed -i "s#@CPRINT@#$(CPRINT)#" $(DESTDIR)$(prefix)/bin/cobcd.py ; fi
# Note: as of 4.17, the following option no longer exists
# @if [ X"$(CPRINT)" != X"" ] ; then sed -i "s#@CPRINT@#$(CPRINT)#" $(DESTDIR)$(prefix)/bin/cobcd.py ; fi
# Output .gdbinit instructions only if DESTDIR is empty.
# When non-empty, this is almost certainly part of a package building exercise,
# and the message is irrelevant and confusing.
......
......@@ -250,7 +250,7 @@ def Main() :
## The text "Version x.x" has to appear in square brackets. #
## Don't mess with it! #
###########################################################################
SCRIPT_VERSION="[Version 4.16]"
SCRIPT_VERSION="[Version 4.17]"
show_time = os.environ.get("SHOW_TIME","0")
SHOW_TIME = False
......
......@@ -7,7 +7,7 @@ SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
::## Don't mess with it! #
::###########################################################################
::
set VERSION=[Version 4.16]
set VERSION=[Version 4.17]
::
::
:: Stupendously useful:
......
......@@ -4,4 +4,4 @@
// On the Unix side, there is scripting trickery to propogate this version
// code into cobcd.py and the names of packages when they are created.
#define VERSION "4.16"
#define VERSION "4.17"
This diff is collapsed.
COBCD?=../../cobcd
GDB?=gdb
# For reasons that remain unknown -- probably because of the older
# version of GDB, but who knows? -- the response on RedHat7 isn't quite
# the same as for Ubuntu.
# So, we cook up, and read, a different set of known-good files for RH7
# start with "known-good"
knowngood:=known-good
# tack on "-rh7" on a RedHat7 system:
knowngood := $(knowngood)$(shell uname -r |grep el7| sed 's/\(^.*\)el7\(.*\)/-rh7/g')
# $(info known-good files: $(knowngood))
.PHONY : known-good test all testprod
all:
......@@ -9,16 +23,16 @@ all:
known-good:
COBCDEVEL=1 $(COBCD) -x test.cbl
$(GDB) -x test.scr > known-good.txt
../strip-diff known-good.txt >known-good.stripped
../strip-diff known-good.txt >$(knowngood).stripped
test:
COBCDEVEL=1 $(COBCD) -x test.cbl
$(GDB) -x test.scr > under-test.txt
../strip-diff under-test.txt >under-test.stripped
diff -u under-test.stripped known-good.stripped
diff -u under-test.stripped $(knowngood).stripped
testprod:
cobcd -x test.cbl
$(GDB) -x test.scr > under-test.txt
../strip-diff under-test.txt >under-test.stripped
diff -u under-test.stripped known-good.stripped
diff -u under-test.stripped $(knowngood).stripped
COBCD?=../../cobcd
GDB?=gdb
# For reasons that remain unknown -- probably because of the older
# version of GDB, but who knows? -- the response on RedHat7 isn't quite
# the same as for Ubuntu.
# So, we cook up, and read, a different set of known-good files for RH7
# start with "known-good"
knowngood:=known-good
# tack on "-rh7" on a RedHat7 system:
knowngood := $(knowngood)$(shell uname -r |grep el7| sed 's/\(^.*\)el7\(.*\)/-rh7/g')
# $(info known-good files: $(knowngood))
.PHONY : known-good test all testprod
all:
......@@ -9,16 +23,16 @@ all:
known-good:
COBCDEVEL=1 $(COBCD) -x test.cbl
$(GDB) -x test.scr > known-good.txt
../strip-diff known-good.txt >known-good.stripped
../strip-diff known-good.txt >$(knowngood).stripped
test:
COBCDEVEL=1 $(COBCD) -x test.cbl
$(GDB) -x test.scr > under-test.txt
../strip-diff under-test.txt >under-test.stripped
diff -u under-test.stripped known-good.stripped
diff -u under-test.stripped $(knowngood).stripped
testprod:
cobcd -x test.cbl
$(GDB) -x test.scr > under-test.txt
../strip-diff under-test.txt >under-test.stripped
diff -u under-test.stripped known-good.stripped
diff -u under-test.stripped $(knowngood).stripped
COBCD?=../../cobcd
GDB?=gdb
# For reasons that remain unknown -- probably because of the older
# version of GDB, but who knows? -- the response on RedHat7 isn't quite
# the same as for Ubuntu.
# So, we cook up, and read, a different set of known-good files for RH7
# start with "known-good"
knowngood:=known-good
# tack on "-rh7" on a RedHat7 system:
knowngood := $(knowngood)$(shell uname -r |grep el7| sed 's/\(^.*\)el7\(.*\)/-rh7/g')
.PHONY : known-good test all testprod
all:
......@@ -12,7 +26,7 @@ known-good:
COBCDEVEL=1 $(COBCD) -m B.cbl
COBCDEVEL=1 $(COBCD) -m C.cbl
$(GDB) -x test.scr > known-good.txt
../strip-diff known-good.txt >known-good.stripped
../strip-diff known-good.txt >$(knowngood).stripped
test:
COBCDEVEL=1 $(COBCD) -o test -x MAIN.cbl
......@@ -21,7 +35,7 @@ test:
COBCDEVEL=1 $(COBCD) -m C.cbl
$(GDB) -x test.scr > under-test.txt
../strip-diff under-test.txt >under-test.stripped
diff -u under-test.stripped known-good.stripped
diff -u under-test.stripped $(knowngood).stripped
testprod:
cobcd -o test -x MAIN.cbl
......@@ -30,4 +44,4 @@ testprod:
cobcd -m C.cbl
$(GDB) -x test.scr > under-test.txt
../strip-diff under-test.txt >under-test.stripped
diff -u under-test.stripped known-good.stripped
diff -u under-test.stripped $(knowngood).stripped
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