aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2005-12-13 07:23:17 +0000
committerFlorent Villard <warly@mandriva.com>2005-12-13 07:23:17 +0000
commitc288633dff2e6cceefa0e6fd72a88d1768445fe6 (patch)
tree52d5bda5cbe20df2afd96f1abe48ea37fed1eeee
parentfd63c6ef5a164be3d15607113500080cd58dfce1 (diff)
downloadiurt-c288633dff2e6cceefa0e6fd72a88d1768445fe6.tar
iurt-c288633dff2e6cceefa0e6fd72a88d1768445fe6.tar.gz
iurt-c288633dff2e6cceefa0e6fd72a88d1768445fe6.tar.bz2
iurt-c288633dff2e6cceefa0e6fd72a88d1768445fe6.tar.xz
iurt-c288633dff2e6cceefa0e6fd72a88d1768445fe6.zip
More error regexp in dependencies installation command and build command
-rwxr-xr-xiurt23
1 files changed, 2 insertions, 1 deletions
diff --git a/iurt2 b/iurt2
index ada7cc3..3a77bf5 100755
--- a/iurt2
+++ b/iurt2
@@ -257,6 +257,7 @@ foreach my $t (@todo) {
hash => "install_deps_$srpm",
timeout => 600,
cc => $cc,
+ error_regexp => 'cannot be installed',
log => "$local_spool/log/") or next;
perform_command("sudo chroot $chroot rpm -qa",
hash => "rpm_qa_$srpm",
@@ -276,7 +277,7 @@ foreach my $t (@todo) {
timeout => 18000,
cc => $cc,
log => "$local_spool/log/",
- error_regexp => 'rror.*ailed',
+ error_regexp => 'rror.*ailed|Bad exit status|RPM build error',
freq => 1) && !glob "$chroot/home/builder/rpm/RPMS/*/*.rpm") {
$::failure->{$srpm}{$my_arch} = 1;
next