enable test cases in benchmarks/

This commit is contained in:
blueloveTH 2024-02-01 15:20:34 +08:00
parent 11cd95b522
commit c204e07c9c

View File

@ -1,7 +1,9 @@
python3 prebuild.py python3 prebuild.py
SRC=$(find src/ -name "*.cpp") SRC=$(find src/ -name "*.cpp")
clang++ -std=c++17 --coverage -O1 -stdlib=libc++ -Wfatal-errors -o main src2/main.cpp $SRC -Iinclude -DPK_ENABLE_OS=1 clang++ -std=c++17 --coverage -O1 -stdlib=libc++ -Wfatal-errors -o main src2/main.cpp $SRC -Iinclude -DPK_ENABLE_OS=1
python3 scripts/run_tests.py python3 scripts/run_tests.py
python3 scripts/run_tests.py benchmarks/
# if prev error exit # if prev error exit
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then