[arch-commits] Commit in go/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Wed Mar 15 13:08:34 UTC 2017


    Date: Wednesday, March 15, 2017 @ 13:08:34
  Author: bpiotrowski
Revision: 290869

Change the fail condition to "greater than" instead of equality

Modified:
  go/trunk/PKGBUILD

----------+
 PKGBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-15 13:04:43 UTC (rev 290868)
+++ PKGBUILD	2017-03-15 13:08:34 UTC (rev 290869)
@@ -51,7 +51,7 @@
   # Assume that five "failed" messages are okay and just re-run failed tests.
   cd $pkgname/src
   ./run.bash --no-rebuild -v -v -v -k |& tee run.log
-  if (( $(grep -c Failed: run.log) != 5 )) && grep -q FAILED run.log; then
+  if (( $(grep -c Failed: run.log) -gt 5 )) && grep -q FAILED run.log; then
     return 1
   fi
 



More information about the arch-commits mailing list