Fix golden tests to use the "target" Bazel configuration (#581)

In practice, this means that `executable_semantics` will be built and run using the configuration specified on the command line, rather than e.g. always using `-c opt`.

Also fix a bug exposed by this change.
This commit is contained in:
Geoff Romer
2021-06-16 16:33:19 -07:00
committed by GitHub
parent 07cee1b82a
commit 31f37f54fe
7 changed files with 103 additions and 58 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ cc_test(
name = "paren_contents_test",
srcs = ["paren_contents_test.cpp"],
env = {
# FIXME: Remove this when leaks are fixed.
# TODO(#580): Remove this when leaks are fixed.
"ASAN_OPTIONS": "detect_leaks=0",
},
deps = [