equal
deleted
inserted
replaced
|
1 # |
|
2 # Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of the License "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # |
|
16 |
|
17 use strict; |
|
18 |
|
19 # This program simply schedules the tests to run every day at 9pm |
|
20 # Currently only builds against Typhoon mainline 02129 |
|
21 for (;;) |
|
22 { |
|
23 (my $hour, my $day) = (localtime)[2, 3]; |
|
24 if ($hour == 20) |
|
25 { |
|
26 # for the moment, do unzip, perforce sync, build, and test, but using wins/udeb |
|
27 system("perl -w RunSecurityTests.pl -a"); |
|
28 } |
|
29 |
|
30 (my $date = `date /t`) =~ s/\n//; |
|
31 (my $time = `time /t`) =~ s/\n//; |
|
32 print "Sleeping for 59 mins at $date $time\n"; |
|
33 |
|
34 # now sleep for 59 minutes |
|
35 sleep 3500; |
|
36 } |