aboutsummaryrefslogtreecommitdiffstats
path: root/vms
diff options
context:
space:
mode:
Diffstat (limited to 'vms')
-rw-r--r--vms/ChangeLog21
-rw-r--r--vms/descrip.mms10
-rwxr-xr-xvms/vms_sort.com4
3 files changed, 33 insertions, 2 deletions
diff --git a/vms/ChangeLog b/vms/ChangeLog
index 0560a9dc..cdcdcf04 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,3 +1,24 @@
+2016-02-02 John E. Malmberg <wb8tyw@qsl.net>
+
+ * descrip.mms: Add gawk_debug target.
+ * vms_sort.com: Implement sort function for tests.
+ * vmstest.com: updates
+ Reorganize test lists to make them easier to read and
+ update.
+ (vms_debug) New command to switch to debug_gawk
+ New/fixed tests:
+ (basic) badassign1,dfamb1,exit2,nfloop,badbuild,
+ callparam,exitval2,exitval3,inpref,paramasfunc1,
+ paramasfunc2,regexpbrack,sortglos,rebrackloc
+ aryprm9,nulinsrc,rstest4,rstest5
+ (ext) id,profile4,profile5,crlf,dbugeval,fpat4,genpot,
+ indirectbuiltin,printfbad4,printhuge,profile0,
+ profile6,profile7,regnul1,regnul2,rsgetline,
+ rsglstdin,mbstr2,profile8,watchpoint1,rsstart3
+ (locale) backbigs1,backsmalls1,backsmalls2,mbprintf4
+ (shlib) inplace2,testext,lc_num1,mbprintf1,
+ mbprintf2,mbprintf3,mbprintf4,mbfw1,ordchr2
+
2016-01-27 John E. Malmberg <wb8tyw@qsl.net>
* generate_config_vms_h_gawk.com: Add missing define
diff --git a/vms/descrip.mms b/vms/descrip.mms
index e47660b2..5e83b419 100644
--- a/vms/descrip.mms
+++ b/vms/descrip.mms
@@ -121,16 +121,22 @@ VMSOBJS = $(VMSCODE),$(VMSCMD)
DOCS= $(DOCDIR)gawk.1,$(DOCDIR)gawk.texi,$(DOCDIR)texinfo.tex
# generic target
-all : gawk
+all : gawk gawk_debug
@ $(NOOP)
# dummy target to allow building "gawk" in addition to explicit "gawk.exe"
gawk : gawk.exe
@ $(ECHO) "$< is upto date"
+gawk_debug : gawk_debug.exe
+ @ $(ECHO) "$< is upto date"
+
# rules to build gawk
gawk.exe : $(GAWKOBJ) $(AWKOBJS) $(VMSOBJS) gawk.opt
- $(LINK) $(LINKFLAGS) gawk.opt/options
+ $(LINK) $(LINKFLAGS)/EXE=$(MMS$TARGET) gawk.opt/options
+
+gawk_debug.exe : $(GAWKOBJ) $(AWKOBJS) $(VMSOBJS) gawk.opt
+ $(LINK) $(LINKFLAGS)/DEBUG/EXE=$(MMS$TARGET) gawk.opt/options
gawk.opt : $(MAKEFILE) config.h # create linker options file
@ open/write opt sys$disk:[]gawk.opt ! ~ 'cat <<close >gawk.opt'
diff --git a/vms/vms_sort.com b/vms/vms_sort.com
new file mode 100755
index 00000000..b8b614fd
--- /dev/null
+++ b/vms/vms_sort.com
@@ -0,0 +1,4 @@
+$!'f$verify(0,0)'
+$ sort := sort
+$ define/user sys$input sys$command:
+$ sort sys$input: sys$output: