diff --git a/include/pocketpy/config.h b/include/pocketpy/config.h index a777ad11..cbdb8084 100644 --- a/include/pocketpy/config.h +++ b/include/pocketpy/config.h @@ -45,7 +45,10 @@ #define PK_DEBUG_NO_MEMORY_POOL 0 #define PK_DEBUG_NO_AUTO_GC 0 #define PK_DEBUG_GC_STATS 0 + +#ifndef PK_DEBUG_PRECOMPILED_EXEC #define PK_DEBUG_PRECOMPILED_EXEC 0 +#endif /*************** internal settings ***************/ diff --git a/run_tests.sh b/run_tests.sh index d7264fff..6cba9243 100644 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,6 +1,6 @@ python prebuild.py SRC=$(find src/ -name "*.cpp") -clang++ -std=c++17 --coverage -O1 -stdlib=libc++ -frtti -Wfatal-errors -o main src2/main.cpp $SRC -Iinclude -DPK_ENABLE_OS=1 +clang++ -std=c++17 --coverage -O1 -stdlib=libc++ -frtti -Wfatal-errors -o main src2/main.cpp $SRC -Iinclude -DPK_ENABLE_OS=1 -DPK_DEBUG_PRECOMPILED_EXEC=1 python scripts/run_tests.py