Skip to content

Commit

Permalink
Fix the coverage on github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin committed Jun 25, 2023
1 parent fc127b0 commit 5a54019
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testsuite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: tar xzf ./x86_64-linux-musl-native.tgz
- name: Running the testsuite
run: make -C gcc | grep -zqv FAIL
gcc:
clang:
runs-on: ubuntu-latest
steps:
- name: Checking out the code
Expand Down
2 changes: 2 additions & 0 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ clang: clean all
all: $(TARGETS) run

coverage: CFLAGS += -fprofile-arcs -ftest-coverage
coverage: CC=../x86_64-linux-musl-native/bin/gcc
coverage: GCOV=../x86_64-linux-musl-native/bin/gcov
coverage: all
$(GCOV) *.c
lcov --capture --directory . --output-file coverage.info
Expand Down

0 comments on commit 5a54019

Please sign in to comment.