Use TEST_SRCDIR for shell tests
Fixes https://github.com/bazelbuild/bazel-skylib/issues/143
This commit is contained in:
parent
f80abf6578
commit
830f28c40f
|
@ -150,4 +150,5 @@ function test_transitive_target_fails() {
|
||||||
expect_log "This rule should never work"
|
expect_log "This rule should never work"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cd "$TEST_TMPDIR"
|
||||||
run_suite "analysis_test test suite"
|
run_suite "analysis_test test suite"
|
||||||
|
|
|
@ -131,4 +131,5 @@ function test_fail_unexpected_passing_test() {
|
||||||
expect_log "Expected failure of target_under_test, but found success"
|
expect_log "Expected failure of target_under_test, but found success"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cd "$TEST_TMPDIR"
|
||||||
run_suite "unittest test suite"
|
run_suite "unittest test suite"
|
||||||
|
|
Loading…
Reference in New Issue