Skip to content

Commit

Permalink
test: enable atomic coverage
Browse files Browse the repository at this point in the history
Signed-off-by: Zxilly <[email protected]>
  • Loading branch information
Zxilly committed Jul 11, 2024
1 parent f0e10f1 commit 4824fae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scripts/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def run_unit_tests(full: bool, wasm: bool, no_embed: bool):
"go",
"test",
"-v",
"-covermode=set",
"-covermode=atomic",
"-cover",
"-tags=embed",
"./...",
Expand Down Expand Up @@ -72,7 +72,7 @@ def run_unit_tests(full: bool, wasm: bool, no_embed: bool):
"go",
"test",
"-v",
"-covermode=set",
"-covermode=atomic",
"-cover",
"./internal/webui",
"-args",
Expand Down Expand Up @@ -138,7 +138,7 @@ def run_unit_tests(full: bool, wasm: bool, no_embed: bool):
"go",
"test",
"-v",
"-covermode=set",
"-covermode=atomic",
"-cover",
"-coverpkg=../../...",
f"-test.gocoverdir={unit_path}",
Expand Down
2 changes: 1 addition & 1 deletion scripts/tool/gsa.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def build_gsa():
"build",
"-buildmode=exe", # since windows use pie by default
"-cover",
"-covermode=set",
"-covermode=atomic",
"-tags",
"embed,profiler",
"-o",
Expand Down

0 comments on commit 4824fae

Please sign in to comment.