Review unit_tests/compile.sh fix #3349

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

View File

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

View File

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