Skip to content

Commit

Permalink
htmlreport: Updated project root determination
Browse files Browse the repository at this point in the history
Switch from git project root to POSIX project root getter
  • Loading branch information
vpetrigo committed May 7, 2024
1 parent c1f1c62 commit 249ae9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/tools/htmlreport/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ if [ -z "$PYTHON" ]; then
PYTHON=python
fi

PROJECT_ROOT_DIR=$(git rev-parse --show-toplevel)
SCRIPT_DIR="$(dirname ${BASH_SOURCE[0]})"
PROJECT_ROOT_DIR="$(cd -- ${SCRIPT_DIR}/../../../ ; pwd -P)"
REPORT_DIR=$(mktemp -d -t htmlreport-XXXXXXXXXX)
INDEX_HTML="$REPORT_DIR/index.html"
STATS_HTML="$REPORT_DIR/stats.html"
Expand Down

0 comments on commit 249ae9b

Please sign in to comment.