common/tools/ats/bctest/drm/drm.pl
changeset 430 2118454a7779
child 438 6832752a1de3
equal deleted inserted replaced
427:2a9cb549a758 430:2118454a7779
       
     1 #!/usr/bin/perl
       
     2 # Copyright (c) 2009 Symbian Foundation Ltd
       
     3 # This component and the accompanying materials are made available
       
     4 # under the terms of the License "Eclipse Public License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 #
       
     8 # Initial Contributors:
       
     9 # Symbian Foundation Ltd - initial contribution.
       
    10 #
       
    11 # Contributors:
       
    12 # Louis Henry Nayegon <louisn@symbian.org>
       
    13 #
       
    14 # Description:
       
    15 # Script to build ATS test drop multimedia svs tests
       
    16 
       
    17 
       
    18 use strict;
       
    19 use File::Copy;
       
    20 use File::Path;
       
    21 
       
    22 unlink "drmtest.zip";
       
    23 ##rmtree "temp";
       
    24 mkpath "temp/drmtest/general/testframework";
       
    25 mkpath "temp/drmtest/winscw_udeb";
       
    26 
       
    27 my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
       
    28 copy("drm.xml",	"temp/test.xml");
       
    29 
       
    30 copy($epoc . "release/winscw/udeb/drm_caf.dll",					"temp/drmtest/winscw_udeb/drm_caf.dll");
       
    31 copy($epoc . "release/winscw/udeb/bcdrmcafcaps.exe",			"temp/drmtest/winscw_udeb/bcdrmcafcaps.exe");
       
    32 copy($epoc . "winscw/c/testframework/testframework_drmcaf.ini",	"temp/drmtest/general/testframework/testframework_drmcaf.ini");
       
    33 copy($epoc . "winscw/c/testframework/drm_caf.cfg",				"temp/drmtest/general/testframework/drm_caf.cfg");
       
    34 copy($epoc . "winscw/c/content-noenc-trunc.odf",				"temp/drmtest/general/content-noenc-trunc.odf");
       
    35 copy($epoc . "winscw/c/content.odf",							"temp/drmtest/general/content.odf");
       
    36 copy($epoc . "winscw/c/content.txt",							"temp/drmtest/general/content.txt");
       
    37 copy($epoc . "winscw/c/content-noenc.odf",						"temp/drmtest/general/content-noenc.odf");
       
    38 copy($epoc . "winscw/c/content.dcf",							"temp/drmtest/general/content.dcf");
       
    39 
       
    40 system("7z a -tzip drmtest.zip ./temp/*");