From acd13c94f0f18b7d4850f74fb548309bf37c886b Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Sat, 13 Aug 2022 15:37:25 +0200 Subject: [PATCH] scripts/test: Clean old unit tests before building new ones to avoid confusion if a unit test fails to build and old unit tests remain in place, this can lead to confusion when the old test is run anyway. "Why are some test cases missing?" "Huh, it failed to build but passed?" --- scripts/test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/test.sh b/scripts/test.sh index dd0e1ad..0088c60 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -25,6 +25,8 @@ else fi echo "$LD_LIBRARY_PATH" +echo ">>> Cleaning tests..." +remove bin/test create_directory bin/test echo ">>> Building tests..."