Skip to content

Commit f66b365

Browse files
committed
Allow running script from outside the script directory
1 parent 6cf02d1 commit f66b365

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/skip_slow_tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
2+
cd "${SCRIPT_DIR}"
3+
14
# Let tests know we should skip slow tests.
25
export PHP_CURL_CLASS_SKIP_SLOW_TESTS="1"
36

0 commit comments

Comments
 (0)