summaryrefslogtreecommitdiffhomepage
path: root/run-show-coverage.sh
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-20 19:30:15 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-20 19:30:15 +0200
commit4a610aa66ee203a2d9d97bd0e0710a1da3594eb8 (patch)
tree7ea301e4680b82f288c7ccbb1fca43db66d9eb56 /run-show-coverage.sh
parent2dff88addc61164f3c189381644767dc8dd50061 (diff)
a
Diffstat (limited to 'run-show-coverage.sh')
-rw-r--r--run-show-coverage.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/run-show-coverage.sh b/run-show-coverage.sh
index f767ea7a..50a43fce 100644
--- a/run-show-coverage.sh
+++ b/run-show-coverage.sh
@@ -78,7 +78,11 @@ if test $run -gt 0; then
echo "error: no 'floormat' executable" >&2
exit 65
fi
- LLVM_PROFILE_FILE="../${prof}.profraw" "$exe" --magnum-gpu-validation on --vsync on
+ case "$OS" in
+ Windows_NT) profdir="$(cygpath -m -- "$PWD")" ;;
+ *) profdir="$PWD" ;;
+ esac
+ LLVM_PROFILE_FILE="$profdir/${prof}.profraw" "$exe" --magnum-gpu-validation on --vsync on
fi
if test $generate -gt 0; then