Update contrib.
2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 # Initial Contributors:
10 # Nokia Corporation - initial contribution.
20 chdir "scripts" or die "$!";
22 print "======================================\n";
23 print "USBTESTLOOP starts\n";
24 print localtime()."\n";
25 print "======================================\n";
27 unless (-e "h4testsusbcv.bat")
29 print "Cannot find h4testsusbcv.bat\n";
32 unless (-e "h4tests.bat")
34 print "Cannot find h4tests.bat\n";
40 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
41 # Sod USBCV for the time being
42 # if ($wday == 5) # It's Friday !
44 # print localtime().": Start h4testsusbcv.bat\n";
45 # system "h4testsusbcv.bat";
46 # print localtime().": Execution of h4testsusbcv.bat complete\n";
50 print localtime().": Start h4tests.bat\n";
52 print localtime().": Execution of h4tests.bat complete\n";
54 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
55 my $prefix = sprintf("%04d%02d%02d%02d%02d%02d", $year+1900, $mon+1, $mday, $hour, $min, $sec);
56 system "COPY /Y ..\\Results\\h4tests.log ..\\${prefix}_h4tests.log";
57 system "COPY /Y ..\\Results\\h4performance.log ..\\${prefix}_h4performance.log";