diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2021-12-08 17:05:52 -0500 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2021-12-08 17:05:52 -0500 |
commit | 508e9368d2d461b2290af6787cad6dfbed357176 (patch) | |
tree | ce0ce2b65098253601901534a40e83ae2ab98202 /test/Makefile.in | |
parent | c4b80d4a006d3cbcce3aaca1c598a094de936f8b (diff) | |
download | egawk-508e9368d2d461b2290af6787cad6dfbed357176.tar.gz egawk-508e9368d2d461b2290af6787cad6dfbed357176.tar.bz2 egawk-508e9368d2d461b2290af6787cad6dfbed357176.zip |
Enhance rwarray extension to add writeall and readall functions for dumping and reloading global state.
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index a4d27586..c6c131fc 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -1297,6 +1297,9 @@ EXTRA_DIST = \ range1.ok \ range2.awk \ range2.ok \ + readall1.awk \ + readall2.awk \ + readall.ok \ readbuf.awk \ readbuf.ok \ readdir.awk \ @@ -1752,6 +1755,7 @@ SHLIB_TESTS = \ getfile \ inplace1 inplace2 inplace2bcomp inplace3 inplace3bcomp \ ordchr ordchr2 \ + readall \ readdir readdir_test readdir_retest readfile readfile2 revout \ revtwoway rwarray \ testext time @@ -1864,7 +1868,8 @@ EXPECTED_FAIL_ZOS = \ GENTESTS_UNUSED = Makefile.in checknegtime.awk dtdgport.awk fix-fmtspcl.awk \ fmtspcl-mpfr.ok fmtspcl.awk fmtspcl.tok gtlnbufv.awk hello.awk \ inchello.awk inclib.awk inplace.1.in inplace.2.in inplace.in \ - printfloat.awk readdir0.awk valgrind.awk xref.awk + printfloat.awk readdir0.awk valgrind.awk xref.awk \ + readall1.awk readall2.awk # List of tests on MinGW or DJGPP that need a different cmp program @@ -2771,6 +2776,13 @@ readdir_retest: @-$(AWK) -lreaddir_test -F/ -f "$(srcdir)"/$@.awk "$(top_srcdir)" > _$@ @-$(CMP) $@.ok _$@ && rm -f $@.ok _$@ +readall: + @echo $@ + @-$(AWK) -lrwarray -f "$(srcdir)"/$@1.awk -v "ofile=readall.state" > _$@ + @-$(AWK) -lrwarray -f "$(srcdir)"/$@2.awk -v "ifile=readall.state" >> _$@ + @-$(CMP) $@.ok _$@ && rm -f _$@ + @-$(RM) -f readall.state + fts: @echo $@ @-case `uname` in \ |