sl@0: # sl@0: # Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: # All rights reserved. sl@0: # This component and the accompanying materials are made available sl@0: # under the terms of the License "Eclipse Public License v1.0" sl@0: # which accompanies this distribution, and is available sl@0: # at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: # sl@0: # Initial Contributors: sl@0: # Nokia Corporation - initial contribution. sl@0: # sl@0: # Contributors: sl@0: # sl@0: # Description: sl@0: # sl@0: sl@0: use strict; sl@0: sl@0: # This program simply schedules the tests to run every day at 9pm sl@0: # Currently only builds against Typhoon mainline 02129 sl@0: for (;;) sl@0: { sl@0: (my $hour, my $day) = (localtime)[2, 3]; sl@0: if ($hour == 20) sl@0: { sl@0: # for the moment, do unzip, perforce sync, build, and test, but using wins/udeb sl@0: system("perl -w RunSecurityTests.pl -a"); sl@0: } sl@0: sl@0: (my $date = `date /t`) =~ s/\n//; sl@0: (my $time = `time /t`) =~ s/\n//; sl@0: print "Sleeping for 59 mins at $date $time\n"; sl@0: sl@0: # now sleep for 59 minutes sl@0: sleep 3500; sl@0: }