We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PROJECT_ROOT
1 parent 8f86ebd commit 2398b4aCopy full SHA for 2398b4a
tests/run_integrated_tests.sh
@@ -1,10 +1,11 @@
1
#!/bin/bash
2
3
-HERE=$(cd "$(dirname "$0")" && pwd)
4
-export PYTHONPATH="$HERE/../tools/pylib"
+PROJECT_ROOT=$(cd "$(dirname "$0")/.." && pwd)
+
5
+export PYTHONPATH="$PROJECT_ROOT/tools/pylib"
6
7
# Pre-build the project to prevent concurrent CMake race conditions
-cmake --build "$HERE/.."
8
+cmake --build "$PROJECT_ROOT"
9
-pytest -m "not serial" --cache-clear -n auto --dist=loadgroup -q "$HERE/integrated" "$@"
10
-pytest -m serial "$HERE/integrated" "$@"
+pytest -m "not serial" --cache-clear -n auto --dist=loadgroup -q "$PROJECT_ROOT/tests/integrated" "$@"
11
+pytest -m serial "$PROJECT_ROOT/tests/integrated" "$@"
0 commit comments