Use TEST_SRCDIR for shell tests

Fixes https://github.com/bazelbuild/bazel-skylib/issues/143
This commit is contained in:
Chris Parsons 2019-05-03 17:46:07 -04:00
parent f80abf6578
commit 830f28c40f
2 changed files with 2 additions and 0 deletions

View File

@ -150,4 +150,5 @@ function test_transitive_target_fails() {
expect_log "This rule should never work"
}
cd "$TEST_TMPDIR"
run_suite "analysis_test test suite"

View File

@ -131,4 +131,5 @@ function test_fail_unexpected_passing_test() {
expect_log "Expected failure of target_under_test, but found success"
}
cd "$TEST_TMPDIR"
run_suite "unittest test suite"