git://git.exim.org
/
buildfarm-client.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5de17d9
)
Fix test and doc internal names
author
Todd Lyons
<tlyons@exim.org>
Tue, 29 Oct 2013 16:16:11 +0000
(09:16 -0700)
committer
Todd Lyons
<tlyons@exim.org>
Tue, 29 Oct 2013 16:16:11 +0000
(09:16 -0700)
.gitignore
patch
|
blob
|
history
run_build.pl
patch
|
blob
|
history
diff --git
a/.gitignore
b/.gitignore
index 6f1a30ac5ba3fbd932caedf20bd112793e3a286e..55a0a399d39c74fb4bd444b275ae44d94baa5334 100644
(file)
--- a/
.gitignore
+++ b/
.gitignore
@@
-2,3
+2,11
@@
build-farm.conf
build-farm_*.conf
tags
run_web_txn.pl
build-farm_*.conf
tags
run_web_txn.pl
+test.pl
+test?.pl
+*~
+.*.swp
+*~
+#*#
+.#*#
+0*.patch
diff --git
a/run_build.pl
b/run_build.pl
index d95f64527163ce637cbcd30393c9135c8fe96e09..be324687d8f85aef9053ff429d376999b7173001 100755
(executable)
--- a/
run_build.pl
+++ b/
run_build.pl
@@
-505,9
+505,11
@@
$steps_completed = "";
my @changed_files;
my @changed_since_success;
my @changed_files;
my @changed_since_success;
+my $last_config;
my $last_status;
my $last_run_snap;
my $last_success_snap;
my $last_status;
my $last_run_snap;
my $last_success_snap;
+my $current_config;
my $current_snap;
my @filtered_files;
my $savescmlog = "";
my $current_snap;
my @filtered_files;
my $savescmlog = "";
@@
-553,11
+555,20
@@
elsif (!$from_source)
unlink "last.success";
# get the timestamp data
unlink "last.success";
# get the timestamp data
+ $last_config = find_last('config') || 0;
$last_status = find_last('status') || 0;
$last_run_snap = find_last('run.snap');
$last_success_snap = find_last('success.snap');
$forcerun = 1 unless (defined($last_run_snap));
$last_status = find_last('status') || 0;
$last_run_snap = find_last('run.snap');
$last_success_snap = find_last('success.snap');
$forcerun = 1 unless (defined($last_run_snap));
+ # If config file changed, force a rebuild
+ ($current_config) = (stat $orig_dir.'/'.$buildconf)[9];
+ if ($current_config > $last_config)
+ {
+ $last_status = 0;
+ set_last('config',$current_config) unless $nostatus;
+ }
+
# updated by find_changed to last mtime of any file in the repo
$current_snap=0;
# updated by find_changed to last mtime of any file in the repo
$current_snap=0;
@@
-840,14
+851,14
@@
sub make
sub make_doc
{
sub make_doc
{
- return unless step_wanted('
make-doc
');
+ return unless step_wanted('
build_docs
');
print time_str(),"running make doc ...\n" if $verbose;
my (@makeout);
@makeout = `cd $exim/doc/doc-docbook/ && \
EXIM_VER="4.82" $make everything 2>&1`;
my $status = $? >>8;
print time_str(),"running make doc ...\n" if $verbose;
my (@makeout);
@makeout = `cd $exim/doc/doc-docbook/ && \
EXIM_VER="4.82" $make everything 2>&1`;
my $status = $? >>8;
- writelog('
make-doc
',\@makeout);
+ writelog('
build_docs
',\@makeout);
print "======== make doc log ===========\n",@makeout if ($verbose > 1);
send_result('Doc',$status,\@makeout) if $status;
$steps_completed .= " Doc";
print "======== make doc log ===========\n",@makeout if ($verbose > 1);
send_result('Doc',$status,\@makeout) if $status;
$steps_completed .= " Doc";
@@
-985,7
+996,7
@@
sub make_isolation_check
sub make_test
{
sub make_test
{
- return unless step_wanted('test');
+ return unless step_wanted('
make_
test');
print time_str(),"running make test ...\n" if $verbose;
my $tests_range = $EximBuild::conf{range_num_tests} || "1 4";
my @makeout;
print time_str(),"running make test ...\n" if $verbose;
my $tests_range = $EximBuild::conf{range_num_tests} || "1 4";
my @makeout;
@@
-1009,7
+1020,7
@@
sub make_test
unshift @makeout, "Summary of failed tests:\n";
}
}
unshift @makeout, "Summary of failed tests:\n";
}
}
- writelog('test',\@makeout);
+ writelog('
make_
test',\@makeout);
print "======== make test logs ===========\n",@makeout
if ($verbose > 1);
print "======== make test logs ===========\n",@makeout
if ($verbose > 1);