Command line option to invoke LONG tests, such as the exhaustive ash tests

This commit is contained in:
outofmbufs 2025-04-08 22:20:09 -05:00
parent ddd5c4bda5
commit fe7243e460

20
TESTS
View file

@ -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