diff options
Diffstat (limited to 'pc/Makefile.tst')
-rw-r--r-- | pc/Makefile.tst | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pc/Makefile.tst b/pc/Makefile.tst index 403489ab..d48332a0 100644 --- a/pc/Makefile.tst +++ b/pc/Makefile.tst @@ -168,7 +168,7 @@ BASIC_TESTS = \ paramasfunc1 paramasfunc2 paramdup paramres paramtyp paramuninitglobal \ parse1 parsefld parseme pcntplus posix2008sub prdupval prec printf0 \ printf1 printfchar prmarscl prmreuse prt1eval prtoeval \ - rand randtest range1 readbuf rebrackloc rebt8b1 rebuild redfilnm regeq \ + rand randtest range1 range2 readbuf rebrackloc rebt8b1 rebuild redfilnm regeq \ regexpbrack regexpbrack2 regexprange regrange reindops reparse resplit \ rri1 rs rscompat rsnul1nl rsnulbig rsnulbig2 rstest1 rstest2 rstest3 \ rstest4 rstest5 rswhite \ @@ -291,7 +291,7 @@ CHECK_MPFR = \ # Lists of tests that need particular locales NEED_LOCALE_C = \ - clos1way gsubtst6 + clos1way gsubtst6 range2 NEED_LOCALE_EN = \ backbigs1 backsmalls1 backsmalls2 concat4 dfamb1 ignrcas2 lc_num1 \ @@ -2010,6 +2010,12 @@ range1: @AWKPATH="$(srcdir)" $(AWK) -f $@.awk < "$(srcdir)"/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ +range2: + @echo $@ + @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=C; export GAWKLOCALE; \ + AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ + readbuf: @echo $@ @AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ |