Skip to content

Commit

Permalink
add verbose_failures flag to windows build, remove -g copt from windo…
Browse files Browse the repository at this point in the history
…ws build
  • Loading branch information
driftregion committed Jul 12, 2024
1 parent 6bccd5f commit 2ee79b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
uses: actions/checkout@v3

- name: run unit tests
run: bazel test //test:all
run: bazel test //test:all --verbose_failures

6 changes: 5 additions & 1 deletion test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ TEST_NAMES = [ src.split(".c")[0] for src in TEST_SRCS ]
deps=[":env"],
size = "small",
env = { "UDS_TP_TYPE": "0", },
copts = ["-g"],
copts = select({
"//conditions:default": ["-g"],
"@bazel_tools//src/conditions:windows": [
],
}),
tags = [ "exclusive", ],
) for name, src in zip(TEST_NAMES, TEST_SRCS)
]
Expand Down

0 comments on commit 2ee79b8

Please sign in to comment.