Command line option to invoke LONG tests, such as the exhaustive ash tests
This commit is contained in:
parent
ddd5c4bda5
commit
fe7243e460
1 changed files with 20 additions and 0 deletions
20
TESTS
20
TESTS
|
@ -1,5 +1,13 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ x"$1" == xLONG ]
|
||||||
|
then
|
||||||
|
EXTRATESTS="Y"
|
||||||
|
shift
|
||||||
|
else
|
||||||
|
EXTRATESTS="N"
|
||||||
|
fi
|
||||||
|
|
||||||
FAILS=""
|
FAILS=""
|
||||||
TESTFILES="interrupts.py pdpasmhelper.py pdptests.py"
|
TESTFILES="interrupts.py pdpasmhelper.py pdptests.py"
|
||||||
|
|
||||||
|
@ -32,3 +40,15 @@ then
|
||||||
echo "**TEST FAILURES: $FAILS"
|
echo "**TEST FAILURES: $FAILS"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ $EXTRATESTS == Y ]
|
||||||
|
then
|
||||||
|
echo "Starting long duration tests"
|
||||||
|
# XXX these are just "known by hand" for now
|
||||||
|
python3 pdptests.py TestMethods.exhaustive_ash
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
echo FAILED
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue