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?"BodgeMaster-unfinished
parent
6fecb2cdb7
commit
7a2c1d7d57
|
@ -25,6 +25,8 @@ else
|
||||||
fi
|
fi
|
||||||
echo "$LD_LIBRARY_PATH"
|
echo "$LD_LIBRARY_PATH"
|
||||||
|
|
||||||
|
echo ">>> Cleaning tests..."
|
||||||
|
remove bin/test
|
||||||
create_directory bin/test
|
create_directory bin/test
|
||||||
|
|
||||||
echo ">>> Building tests..."
|
echo ">>> Building tests..."
|
||||||
|
|
Loading…
Reference in New Issue