From 45f5eb97a64c6c56c431a805b4facb2935f5a9f0 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Thu, 25 Mar 2021 22:48:46 +0100 Subject: fix(users/Profpatsch/writers): fail on rust test failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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 --- users/Profpatsch/writers/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/Profpatsch/writers') 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" ] -- cgit 1.4.1