guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

142/376: Reduce test verbosity


From: Ludovic Courtès
Subject: 142/376: Reduce test verbosity
Date: Wed, 28 Jan 2015 22:04:36 +0000

civodul pushed a commit to tag 1.8
in repository guix.

commit 894fa5e42dd952caa702794964a13845ccf6f29a
Author: Eelco Dolstra <address@hidden>
Date:   Wed Aug 20 14:21:14 2014 +0200

    Reduce test verbosity
---
 tests/timeout.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/timeout.sh b/tests/timeout.sh
index 4a4769a..6787a40 100644
--- a/tests/timeout.sh
+++ b/tests/timeout.sh
@@ -3,7 +3,7 @@
 source common.sh
 
 failed=0
-messages="`nix-build timeout.nix --timeout 2 2>&1 || failed=1`"
+messages="`nix-build -Q timeout.nix --timeout 2 2>&1 || failed=1`"
 if [ $failed -ne 0 ]; then
     echo "error: \`nix-store' succeeded; should have timed out"
     exit 1
@@ -15,7 +15,7 @@ if ! echo "$messages" | grep -q "timed out"; then
     exit 1
 fi
 
-if nix-build timeout.nix --option build-max-log-size 100; then
+if nix-build -Q timeout.nix --option build-max-log-size 100; then
     echo "build should have failed"
     exit 1
 fi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]