Use TEST_SRCDIR for shell tests (#145)

Fixes https://github.com/bazelbuild/bazel-skylib/issues/143
This commit is contained in:
c-parsons 2019-05-06 15:03:55 -04:00 committed by GitHub
parent ffad33e9bf
commit 67215655bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"