Run any script found in the test workdir

Allows the test to perform additional checks on the generated trace.
This commit is contained in:
Rodrigo Arias 2023-02-24 11:58:00 +01:00 committed by Rodrigo Arias Mallo
parent 803945dbc8
commit 64360796b9

View File

@ -41,4 +41,10 @@ fi
# Then launch the emulator in lint mode
"$emubin" -l "$tracedir"
# Run any post script that was generated
ls -1 *.sh | while read sh; do
echo "Running '$sh'"
bash -x $sh
done
#rm -rf $tracedir