diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-06-18 21:14:33 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-06-18 21:14:33 +0300 |
commit | b0f08ac2443e239b0ed9cc4421758f0ed3f7a94f (patch) | |
tree | 9a1b4869e7c52a4d1a864c655340cd51e24e403a /test/Makefile.in | |
parent | 6311c35dd8984a8516802b3cc111c1f411e098fd (diff) | |
download | egawk-b0f08ac2443e239b0ed9cc4421758f0ed3f7a94f.tar.gz egawk-b0f08ac2443e239b0ed9cc4421758f0ed3f7a94f.tar.bz2 egawk-b0f08ac2443e239b0ed9cc4421758f0ed3f7a94f.zip |
Add testext to list of shared library tests.
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index 05f9db13..57ccbd99 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -969,6 +969,7 @@ EXTRA_DIST = \ synerr1.ok \ synerr2.awk \ synerr2.ok \ + testext.ok \ time.awk \ time.ok \ tradanch.awk \ @@ -1092,7 +1093,7 @@ LOCALE_CHARSET_TESTS = \ asort asorti fmttest fnarydel fnparydl lc_num1 mbfw1 \ mbprintf1 mbprintf2 mbprintf3 rebt8b2 rtlenmb sort1 sprintfc -SHLIB_TESTS = ordchr ordchr2 fork fork2 readfile filefuncs time +SHLIB_TESTS = ordchr ordchr2 fork fork2 readfile filefuncs testext time # List of the tests which should be run with --lint option: NEED_LINT = \ @@ -1960,6 +1961,12 @@ incdupe3:: @echo $@ @AWKPATH=$(srcdir) $(AWK) --lint -f hello -f hello.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ + +testext:: + @echo $@ + @$(AWK) '/^(@load|BEGIN)/,/^}/' $(top_srcdir)/extension/testext.c > testext.awk + @$(AWK) -f testext.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ testext.awk Gt-dummy: # file Maketests, generated from Makefile.am by the Gentests program addcomma: @@ -3195,7 +3202,7 @@ $(srcdir)/Maketests: $(srcdir)/Makefile.am $(srcdir)/Gentests $(AWK) -f $(srcdir)/Gentests "$(srcdir)/Makefile.am" $$files > $(srcdir)/Maketests clean: - rm -fr _* core core.* fmtspcl.ok junk out1 out2 out3 strftime.ok test1 test2 seq *~ readfile.ok fork.tmp.* + rm -fr _* core core.* fmtspcl.ok junk out1 out2 out3 strftime.ok test1 test2 seq *~ readfile.ok fork.tmp.* testext.awk # An attempt to print something that can be grepped for in build logs pass-fail: |