diff options
author | Profpatsch <mail@profpatsch.de> | 2021-03-25T21·48+0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-03-26T10·59+0000 |
commit | 45f5eb97a64c6c56c431a805b4facb2935f5a9f0 (patch) | |
tree | 2e3b2ce2994bd6b30090cdedcb588d783490193a /users/Profpatsch/writers/default.nix | |
parent | 3a64d087f2dd311dab3291083f343e1e436bdd59 (diff) |
fix(users/Profpatsch/writers): fail on rust test failure r/2334
`forstdin` iterates over the tests in the test directory, and by default it does *not* fail if an inner loop returns an error, unless `-o okcodes` is given, a list of exit codes that indicate success. Now it fails if a loop returns ≠ 0. Change-Id: I0b1b2a06cd0a894e5ac4e77ec25019629ce2c077 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2657 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/Profpatsch/writers/default.nix')
-rw-r--r-- | users/Profpatsch/writers/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/Profpatsch/writers/default.nix b/users/Profpatsch/writers/default.nix index a71bed38ed58..4f7478bc2fe5 100644 --- a/users/Profpatsch/writers/default.nix +++ b/users/Profpatsch/writers/default.nix @@ -130,7 +130,7 @@ let "importas" "out" "out" "if" [ "pipeline" [ bins.ls "${crate true}/tests" ] - "forstdin" "test" + "forstdin" "-o0" "test" "importas" "test" "test" "${crate true}/tests/$test" ] |