Review unit_tests/compile.sh fix #3349

This commit is contained in:
rusefillc 2021-10-13 21:09:11 -04:00
parent c6243a0240
commit a67b1dc9e2
2 changed files with 3 additions and 3 deletions

View File

@ -20,10 +20,9 @@ pwd
cd unit_tests
rem Clean build is needed since some file renames would produce a broken incremental build
make clean
rem Only here we are building unit_tests
call compile.bat
call clean_compile.bat
pwd
ls -l build
if not exist build/rusefi_test.exe echo ERROR: FAILED TO COMPILE UNIT TESTS

View File

@ -1,6 +1,7 @@
#!/bin/bash
echo "Compiling unit tests"
make clean
# todo: how comes .dep is not being cleaned by 'make clean'?
rm -rf .dep/
rm -rf build/
make -j$(nproc)