Skip to content

Commit

Permalink
Making sure that we rename the gcno file gcov needs
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Jun 6, 2024
1 parent 5d10b85 commit 4cf467d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/* && \
Expand Down

0 comments on commit 4cf467d

Please sign in to comment.