From 64360796b90ebc9522cd708a56dff56142eeb700 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Fri, 24 Feb 2023 11:58:00 +0100 Subject: [PATCH] Run any script found in the test workdir Allows the test to perform additional checks on the generated trace. --- test/ovni-driver.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/ovni-driver.sh b/test/ovni-driver.sh index bb2b7e6..65114bc 100755 --- a/test/ovni-driver.sh +++ b/test/ovni-driver.sh @@ -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