зеркало из https://github.com/mozilla/pjs.git
make the checkouts of -D be in sync with the tinderbox boxes by ensuring
-D is really the start time.
This commit is contained in:
Родитель
323a86cd04
Коммит
fc8ddcbf60
|
@ -24,8 +24,8 @@
|
|||
# vairiables substituted.
|
||||
|
||||
|
||||
# $Revision: 1.3 $
|
||||
# $Date: 2001-10-09 15:51:35 $
|
||||
# $Revision: 1.4 $
|
||||
# $Date: 2001-11-14 21:22:13 $
|
||||
# $Author: kestes%walrus.com $
|
||||
# $Source: /home/jrmuizel/cvs-mirror/mozilla/webtools/tinderbox2/src/clientbin/generic.sample.buildcf,v $
|
||||
# $Name: $
|
||||
|
@ -156,10 +156,16 @@ sub build_scripts {
|
|||
# ensure that the CVS server has time to settle down from any
|
||||
# large checkins which may be in progress.
|
||||
|
||||
my $checkout_time = time() - 5*60;
|
||||
my $checkout_time = time();
|
||||
my $filename_time_str = filename_time_str($checkout_time);
|
||||
my $cvs_time_str = cvs_time_str($checkout_time);
|
||||
|
||||
# we give the CVS server time to finish what ever it is doing at
|
||||
# this time.
|
||||
|
||||
my $sleep_minutes= 2;
|
||||
my $sleep_time = $sleep_minutes*60;
|
||||
|
||||
my $dest_dir="$build_dir/dest";
|
||||
chomp $time_stamp;
|
||||
my $tar_file = (
|
||||
|
@ -233,6 +239,7 @@ $BUILDS = {
|
|||
'error_status' => "build_failed",
|
||||
'dir' => "/",
|
||||
'script' => [
|
||||
"sleep $sleep_time",
|
||||
"show_env",
|
||||
"rpm -qa",
|
||||
"rm -rf $build_dir",
|
||||
|
@ -261,7 +268,7 @@ $BUILDS = {
|
|||
], # end construct
|
||||
|
||||
|
||||
'test' => [
|
||||
'smoketest' => [
|
||||
{
|
||||
'phase_name' => "print_environment",
|
||||
'error_status' => "build_failed",
|
||||
|
|
Загрузка…
Ссылка в новой задаче