version 1.1.1.4, 2013/07/22 08:25:55
|
version 1.1.1.5, 2014/06/15 19:46:04
|
Line 14
|
Line 14
|
# UTF-8 with the UTF-8 check turned off; for this, studying must also be |
# UTF-8 with the UTF-8 check turned off; for this, studying must also be |
# disabled with /SS. |
# disabled with /SS. |
# |
# |
# When JIT support is available, all the tests are also run with -s+ to test | # When JIT support is available, all appropriate tests are also run with -s+ to |
# (again, almost) everything with studying and the JIT option, unless "nojit" | # test (again, almost) everything with studying and the JIT option, unless |
# is given on the command line. There are also two tests for JIT-specific | # "nojit" is given on the command line. There are also two tests for |
# features, one to be run when JIT support is available (unless "nojit" is | # JIT-specific features, one to be run when JIT support is available (unless |
# specified), and one when it is not. | # "nojit" is specified), and one when it is not. |
# |
# |
# Whichever of the 8-, 16- and 32-bit libraries exist are tested. It is also |
# Whichever of the 8-, 16- and 32-bit libraries exist are tested. It is also |
# possible to select which to test by giving "-8", "-16" or "-32" on the |
# possible to select which to test by giving "-8", "-16" or "-32" on the |
Line 30
|
Line 30
|
# runs tests 3 to 15, excluding test 10, and just "~10" runs all the tests |
# runs tests 3 to 15, excluding test 10, and just "~10" runs all the tests |
# except test 10. Whatever order the arguments are in, the tests are always run |
# except test 10. Whatever order the arguments are in, the tests are always run |
# in numerical order. |
# in numerical order. |
| # |
| # Inappropriate tests are automatically skipped (with a comment to say so): for |
| # example, if JIT support is not compiled, test 12 is skipped, whereas if JIT |
| # support is compiled, test 13 is skipped. |
| # |
# Other arguments can be one of the words "valgrind", "valgrind-log", or "sim" |
# Other arguments can be one of the words "valgrind", "valgrind-log", or "sim" |
# followed by an argument to run cross- compiled executables under a simulator, | # followed by an argument to run cross-compiled executables under a simulator, |
# for example: |
# for example: |
# |
# |
# RunTest 3 sim "qemu-arm -s 8388608" |
# RunTest 3 sim "qemu-arm -s 8388608" |
Line 62 title8="Test 8: DFA matching main functionality"
|
Line 66 title8="Test 8: DFA matching main functionality"
|
title9="Test 9: DFA matching with UTF" |
title9="Test 9: DFA matching with UTF" |
title10="Test 10: DFA matching with Unicode properties" |
title10="Test 10: DFA matching with Unicode properties" |
title11="Test 11: Internal offsets and code size tests" |
title11="Test 11: Internal offsets and code size tests" |
title12="Test 12: JIT-specific features (JIT available)" | title12="Test 12: JIT-specific features (when JIT is available)" |
title13="Test 13: JIT-specific features (JIT not available)" | title13="Test 13: JIT-specific features (when JIT is not available)" |
title14="Test 14: Specials for the basic 8-bit library" |
title14="Test 14: Specials for the basic 8-bit library" |
title15="Test 15: Specials for the 8-bit library with UTF-8 support" |
title15="Test 15: Specials for the 8-bit library with UTF-8 support" |
title16="Test 16: Specials for the 8-bit library with Unicode propery support" |
title16="Test 16: Specials for the 8-bit library with Unicode propery support" |
Line 350 if [ $jit -ne 0 -a "$nojit" != "yes" ] ; then
|
Line 354 if [ $jit -ne 0 -a "$nojit" != "yes" ] ; then
|
jitopt=-s+ |
jitopt=-s+ |
fi |
fi |
|
|
# Handle any explicit skips |
|
|
|
for i in $skip; do eval do$i=no; done |
|
|
|
# If any unsuitable tests were explicitly requested, grumble. |
|
|
|
if [ $utf -eq 0 ] ; then |
|
if [ $do4 = yes ] ; then |
|
echo "Can't run test 4 because UTF support is not configured" |
|
exit 1 |
|
fi |
|
if [ $do5 = yes ] ; then |
|
echo "Can't run test 5 because UTF support is not configured" |
|
exit 1 |
|
fi |
|
if [ $do9 = yes ] ; then |
|
echo "Can't run test 8 because UTF support is not configured" |
|
exit 1 |
|
fi |
|
if [ $do15 = yes ] ; then |
|
echo "Can't run test 15 because UTF support is not configured" |
|
exit 1 |
|
fi |
|
if [ $do18 = yes ] ; then |
|
echo "Can't run test 18 because UTF support is not configured" |
|
fi |
|
if [ $do22 = yes ] ; then |
|
echo "Can't run test 22 because UTF support is not configured" |
|
fi |
|
fi |
|
|
|
if [ $ucp -eq 0 ] ; then |
|
if [ $do6 = yes ] ; then |
|
echo "Can't run test 6 because Unicode property support is not configured" |
|
exit 1 |
|
fi |
|
if [ $do7 = yes ] ; then |
|
echo "Can't run test 7 because Unicode property support is not configured" |
|
exit 1 |
|
fi |
|
if [ $do10 = yes ] ; then |
|
echo "Can't run test 10 because Unicode property support is not configured" |
|
exit 1 |
|
fi |
|
if [ $do16 = yes ] ; then |
|
echo "Can't run test 16 because Unicode property support is not configured" |
|
exit 1 |
|
fi |
|
if [ $do19 = yes ] ; then |
|
echo "Can't run test 19 because Unicode property support is not configured" |
|
exit 1 |
|
fi |
|
fi |
|
|
|
if [ $link_size -ne 2 ] ; then |
|
if [ $do11 = yes ] ; then |
|
echo "Can't run test 11 because the link size ($link_size) is not 2" |
|
exit 1 |
|
fi |
|
fi |
|
|
|
if [ $jit -eq 0 ] ; then |
|
if [ $do12 = "yes" ] ; then |
|
echo "Can't run test 12 because JIT support is not configured" |
|
exit 1 |
|
fi |
|
else |
|
if [ $do13 = "yes" ] ; then |
|
echo "Can't run test 13 because JIT support is configured" |
|
exit 1 |
|
fi |
|
fi |
|
|
|
# If no specific tests were requested, select all. Those that are not |
# If no specific tests were requested, select all. Those that are not |
# relevant will be automatically skipped. |
# relevant will be automatically skipped. |
|
|
Line 461 if [ $do1 = no -a $do2 = no -a $do3 = no -a $do4 =
|
Line 392 if [ $do1 = no -a $do2 = no -a $do3 = no -a $do4 =
|
do26=yes |
do26=yes |
fi |
fi |
|
|
# Handle any explicit skips (again, so that an argument list may consist only | # Handle any explicit skips at this stage, so that an argument list may consist |
# of explicit skips). | # only of explicit skips. |
|
|
for i in $skip; do eval do$i=no; done |
for i in $skip; do eval do$i=no; done |
|
|