Add shell script to test all languages. Add %* substitutions to tstlang.rem

This commit is contained in:
David F. Skoll
2012-01-23 11:58:07 -05:00
parent 2290fd09f5
commit acac7a7b31
2 changed files with 11 additions and 1 deletions

10
src/test-all-languages.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
ALL=`grep ^#define lang.h | grep -v '#define LANG' | awk '{print $2}'`
echo $ALL
for i in $ALL ; do
make clean all LANGDEF=-DLANG=$i || exit 1
./remind ../tests/tstlang.rem
done
exit 0

View File

@@ -30,7 +30,7 @@ if !$RunOff || !$DontQueue || $DontTrigAts
endif
# Set up a few useful definitions
fset show(x) "%%" + x + " yields: " + char(34) + "%" + x + char(34) + "%"
fset show(x) "%%" + x + " yields: " + char(34) + "%" + x + char(34) + "% and %%*" + x + " yields: " + char(34) + "%*" + x + char(34) + "%"
set a trigger(today()+2) + " ++2"
set l language()
set tt now()+134