aboutsummaryrefslogtreecommitdiffstats
path: root/covrun.sh
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2020-03-06 23:13:00 +0000
committerbloodstalker <thabogre@gmail.com>2020-03-06 23:13:00 +0000
commitf38997774cb41fba555347d5d47a08976362c41b (patch)
treeab20080e06d4db784a6dc78f330784be5dc264fd /covrun.sh
parentupdated the man and readme. (diff)
downloadcgrep-f38997774cb41fba555347d5d47a08976362c41b.tar.gz
cgrep-f38997774cb41fba555347d5d47a08976362c41b.zip
coverage
Diffstat (limited to '')
-rwxr-xr-xcovrun.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/covrun.sh b/covrun.sh
new file mode 100755
index 0000000..46f8fcf
--- /dev/null
+++ b/covrun.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/sh
+
+LLVM_PROFILE_FILE="one.profraw" "./cgrep-cov" -A 1 -B 1 --func --var --regex n[aA]m ./cgrep.cpp
+LLVM_PROFILE_FILE="one.profraw" "./cgrep-cov" -A 1 -B 1 --func --var --awk --regex n[aA]m ./cgrep.cpp
+LLVM_PROFILE_FILE="two.profraw" "./cgrep-cov" -A 1 -B 1 --func --declrefexpr --regex n[aA]m --nocolor --nodecl ./cgrep.cpp
+LLVM_PROFILE_FILE="three.profraw" "./cgrep-cov" -A 1 -B 1 --func --declrefexpr --memfunc --call --cxxcall --var --regex run ./cgrep.cpp
+LLVM_PROFILE_FILE="four.profraw" "./cgrep-cov" -A 1 -B 1 --macro --header --regex n[aA]m ./cgrep.cpp
+LLVM_PROFILE_FILE="five.profraw" "./cgrep-cov" -A 1 -B 1 --class --regex and ./cgrep.cpp
+LLVM_PROFILE_FILE="six.profraw" "./cgrep-cov" -A 1 -B 1 --struct --union --regex n[aA]m ./cgrep.cpp
+LLVM_PROFILE_FILE="seven.profraw" "./cgrep-cov" -A 1 -B 1 --nameddecl --regex n[aA]m ./cgrep.cpp
+LLVM_PROFILE_FILE="eight.profraw" "./cgrep-cov" -A 1 -B 1 --cxxcall --call --regex add ./cgrep.cpp
+LLVM_PROFILE_FILE="nine.profraw" "./cgrep-cov" -A 1 -B 1 --memvar --regex ite ./cgrep.cpp