Browse Source

Added a new compiler flag

master
Ludovic 'Archivist' Lagouardette 2 years ago
parent
commit
a0317cdaa4
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      Makefile
  2. +2
    -0
      tests.cpp

+ 1
- 0
Makefile View File

@ -1,6 +1,7 @@
CXX= clang++
CXXFLAGS= --std=c++20 -O0 -g -pthread -DGP_TESTS -DFUZZ_STRENGTH=100 -DNO_BENCH=1 -pedantic \
-fprofile-instr-generate -fcoverage-mapping -Wno-unknown-attributes -fno-omit-frame-pointer \
-DCATCH_EXCEPTIONS=1
# -fsanitize=address -fsanitize-blacklist=blacklist.txt

+ 2
- 0
tests.cpp View File

@ -36,7 +36,9 @@ void print_logs() {
}
}
#ifndef CATCH_EXCEPTIONS
#define CATCH_EXCEPTIONS 0
#endif
std::vector<std::unique_ptr<test_scaffold>> tests;

Loading…
Cancel
Save