aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/default.nix b/test/default.nix
index bf3e007a..068ca709 100644
--- a/test/default.nix
+++ b/test/default.nix
@@ -22,7 +22,7 @@ nixosTest {
chmod -R +w "$WORK"
cd "$WORK"
${self.packages.${system}.fhs}/bin/fortify-fhs -c \
- 'go generate ./... && go test ./... && touch /tmp/go-test-ok'
+ 'go generate ./... && go test ${if withRace then "-race" else "-count 16"} ./... && touch /tmp/go-test-ok'
'')
];