aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-08-15 13:06:30 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-08-15 13:06:30 +0200
commite4a41a37f4acc1c51e7241c1849152071dad12e5 (patch)
treee1621668bd4d1fdb5211a1d676b6f8590b2f1d7d /web
parentda65988ec200767bab0c891ee2916ccc10071a7e (diff)
downloadbuildroot-test-e4a41a37f4acc1c51e7241c1849152071dad12e5.tar.gz
buildroot-test-e4a41a37f4acc1c51e7241c1849152071dad12e5.tar.bz2
import.inc.php: reject bogus qemu-user failures
In order to avoid build slaves to report bogus qemu-user failures, let's skip such build results. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'web')
-rw-r--r--web/import.inc.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/import.inc.php b/web/import.inc.php
index 15004d9..8b15c85 100644
--- a/web/import.inc.php
+++ b/web/import.inc.php
@@ -144,6 +144,13 @@ function import_result($buildid, $filename)
return;
}
+ system("grep -q 'Refusing to build qemu-user' " . $thisbuildtmpdir . "build-end.log",
+ $retval);
+ if ($retval == 0) {
+ echo "Reject build result, qemu-user issue\n";
+ return;
+ }
+
/* Remove the build.log.bz2 file if it's in there */
system("rm -f " . $thisbuildtmpdir . "build.log.bz2", $retval);