Review unit_tests/compile.sh fix #3349
This commit is contained in:
parent
b24ea754f2
commit
38eaa3bdff
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue