From a487bc0ed9ba0dafb5155fdad840d28d74338ae1 Mon Sep 17 00:00:00 2001 From: Ludovic 'Archivist' Lagouardette Date: Mon, 5 Apr 2021 18:18:03 +0200 Subject: [PATCH] Makefile changes --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 83205b0..b69aa40 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,8 @@ all: tests tests: bin/tests LLVM_PROFILE_FILE="./bin/tests.profraw" ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer ./bin/tests @llvm-profdata merge -sparse ./bin/tests.profraw -o ./bin/tests.profdata - @llvm-cov report ./bin/tests -instr-profile=./bin/tests.profdata include/*.hpp include/gp/*.hpp include/gp/algorithms/*.hpp include/gp/enveloppe/*.hpp include/gp/system/*.hpp include/gp/ipc/*.hpp include/gp/utils/allocators/*.hpp - @llvm-cov report ./bin/tests -instr-profile=./bin/tests.profdata include/*.hpp include/gp/*.hpp include/gp/algorithms/*.hpp include/gp/enveloppe/*.hpp include/gp/system/*.hpp include/gp/ipc/*.hpp include/gp/utils/allocators/*.hpp | tail -n 1 | tr -s " " | sed -e 's/ /,/g' -- | awk -F "," '{print $$9}' | sed -e 's/^/Untested lines: /g' + @llvm-cov report ./bin/tests -instr-profile=./bin/tests.profdata $(wildcard include/*.hpp) + @llvm-cov report ./bin/tests -instr-profile=./bin/tests.profdata $(wildcard include/*.hpp) | tail -n 1 | tr -s " " | sed -e 's/ /,/g' -- | awk -F "," '{print $$9}' | sed -e 's/^/Untested lines: /g' bin/tests: tests.cpp $(wildcard tests/*.cpp) $(wildcard include/*.hpp) ./tests/test_scaffold.h @mkdir -p $(@D)