diff --git a/tests/Makefile b/tests/Makefile index 9ee7c755..37e8f55a 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -24,7 +24,8 @@ main.a: main.cpp clean # Check coverage using the main.o target coverage: - g++ -std=c++14 -Wall -Wextra -O2 -g -fprofile-arcs -ftest-coverage main.cpp -o main.o && \ + g++ -std=c++14 -O2 -g -fprofile-arcs -ftest-coverage main.cpp -o main.o && \ + mv main.o-main.gcno main.gcno && \ gcov -r main.cpp && ls -allt && \ rm -f catch*.hpp.gcov && \ mkdir -p gcov-files && rm -f gcov-files/* && \