General Purpose library for Freestanding C++ and POSIX systems
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

16 rindas
881 B

pirms 5 gadiem
pirms 4 gadiem
pirms 5 gadiem
pirms 5 gadiem
  1. CXX= clang++-8
  2. CXXFLAGS= --std=c++17 -O0 -pthread -DFUZZ_STRENGTH=4000000 \
  3. -g -fprofile-instr-generate -fcoverage-mapping
  4. all: tests
  5. tests: bin/tests
  6. LLVM_PROFILE_FILE="./bin/tests.profraw" ./bin/tests
  7. @llvm-profdata merge -sparse ./bin/tests.profraw -o ./bin/tests.profdata
  8. @llvm-cov report ./bin/tests -instr-profile=./bin/tests.profdata include/*.hpp include/gp/*.hpp include/gp/algorithm/*.hpp include/gp/allocator/*.hpp
  9. @llvm-cov report ./bin/tests -instr-profile=./bin/tests.profdata include/*.hpp include/gp/*.hpp include/gp/algorithm/*.hpp include/gp/allocator/*.hpp | tail -n 1 | tr -s " " | sed -e 's/ /,/g' -- | awk -F "," '{print $$9}' | sed -e 's/^/Untested lines: /g'
  10. bin/tests: tests.cpp $(wildcard tests/*.cpp) $(wildcard include/*.hpp) ./tests/test_scaffold.h
  11. @mkdir -p $(@D)
  12. $(CXX) $(CXXFLAGS) -Itests -Iinclude tests.cpp -o $@
  13. clean: ./bin
  14. @rm -rf $<