Skip to content

Commit 9aaf3af

Browse files
author
ace-n
committed
Add sub-directory support
1 parent 3bbd25d commit 9aaf3af

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.kokoro/system_tests.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,11 @@ fi
6464
# Install global test dependencies
6565
composer install -d testing/
6666

67+
# cd into specific subdirectory (if appropriate)
68+
MAIN_DIR=$(pwd)
69+
if [[ -z "${SUB_DIRECTORY}" ]]; then
70+
cd $SUB_DIRECTORY
71+
fi
72+
6773
# Run tests
68-
bash testing/run_test_suite.sh
74+
bash MAIN_DIR/testing/run_test_suite.sh

0 commit comments

Comments
 (0)