Quellcode durchsuchen

Added a new compiler flag

master
Ludovic 'Archivist' Lagouardette vor 2 Jahren
Ursprung
Commit
a0317cdaa4
2 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. +1
    -0
      Makefile
  2. +2
    -0
      tests.cpp

+ 1
- 0
Makefile Datei anzeigen

@ -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 Datei anzeigen

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

Laden…
Abbrechen
Speichern