Skip to content

Commit

Permalink
common: Fix port from spruce to filesystem (#12122)
Browse files Browse the repository at this point in the history
On macOS, setenv is dangerous (and trips asan checks), so be sure
to run each test case in its own process.
  • Loading branch information
jwnimmer-tri authored Oct 1, 2019
1 parent 65c2e45 commit 8f915dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -1217,6 +1217,9 @@ drake_cc_googletest(

drake_cc_googletest(
name = "temp_directory_test",
# Run each test case in a different process, to avoid environment variable
# changes from one accidentally polluting the others.
shard_count = 3,
deps = [
":filesystem",
":temp_directory",
Expand Down

0 comments on commit 8f915dd

Please sign in to comment.