os/mm/mmtestenv/mmtesttools/Scripts/runmmfsubtitleunittests.bat
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
rem Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
rem All rights reserved.
sl@0
     3
rem This component and the accompanying materials are made available
sl@0
     4
rem under the terms of "Eclipse Public License v1.0"
sl@0
     5
rem which accompanies this distribution, and is available
sl@0
     6
rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
rem
sl@0
     8
rem Initial Contributors:
sl@0
     9
rem Nokia Corporation - initial contribution.
sl@0
    10
rem
sl@0
    11
rem Contributors:
sl@0
    12
rem
sl@0
    13
rem Description:
sl@0
    14
rem rummmfsubtitleunittests.bat
sl@0
    15
rem 
sl@0
    16
rem
sl@0
    17
sl@0
    18
del E:\Logs\TestResults\*
sl@0
    19
md E:\Logs
sl@0
    20
md E:\Logs\TestResults\
sl@0
    21
sl@0
    22
REM **********************************************************
sl@0
    23
REM **************** SUBTITLE UNIT TESTS *********************
sl@0
    24
REM **********************************************************
sl@0
    25
sl@0
    26
md C:\mm\
sl@0
    27
md C:\mm\mmf\
sl@0
    28
md C:\mm\mmf\testfiles\
sl@0
    29
md C:\mm\mmf\testfiles\avictrl\
sl@0
    30
md C:\mm\mmf\testfiles\vclnt\
sl@0
    31
md C:\mm\mmf\testfiles\subtitlegraphic\
sl@0
    32
md C:\mm\mmf\testfiles\devsubtitle\
sl@0
    33
sl@0
    34
REM avictrl data:
sl@0
    35
copy E:\unittest\mmf\avictrl\video_only.avi C:\mm\mmf\testfiles\avictrl\video_only.avi
sl@0
    36
copy E:\unittest\mmf\avictrl\srt_available.avi C:\mm\mmf\testfiles\avictrl\srt_available.avi
sl@0
    37
copy E:\unittest\mmf\avictrl\srt_available.srt C:\mm\mmf\testfiles\avictrl\srt_available.srt
sl@0
    38
sl@0
    39
REM vclnt data:
sl@0
    40
copy E:\unittest\mmf\vclnt\mm\clock2.dummy C:\mm\mmf\testfiles\vclnt\clock2.dummy
sl@0
    41
copy E:\unittest\mmf\vclnt\mm\clock.dummy C:\mm\mmf\testfiles\vclnt\clock.dummy
sl@0
    42
sl@0
    43
REM subtitle graphic data:
sl@0
    44
copy E:\unittest\mmf\subtitlegraphic\subtitletestdata.png C:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata.png
sl@0
    45
copy E:\unittest\mmf\subtitlegraphic\subtitletestdata2.png C:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata2.png
sl@0
    46
copy E:\unittest\mmf\subtitlegraphic\subtitletestdata3.png C:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata3.png
sl@0
    47
sl@0
    48
REM devsubtitle data:
sl@0
    49
copy E:\unittest\mmf\devsubtitle\devsubtitle.srt C:\mm\mmf\testfiles\devsubtitle\devsubtitle.srt
sl@0
    50
copy E:\unittest\mmf\devsubtitle\subtitletestdata.png C:\mm\mmf\testfiles\devsubtitle\subtitletestdata.png
sl@0
    51
copy E:\unittest\mmf\devsubtitle\subtitletestdata2.png C:\mm\mmf\testfiles\devsubtitle\subtitletestdata2.png
sl@0
    52
sl@0
    53
REM srt decoder data:
sl@0
    54
copy E:\unittest\mmf\subtitle\subtitle1.srt C:\mm\subtitle1.srt
sl@0
    55
copy E:\unittest\mmf\subtitle\subtitle2.srt C:\mm\subtitle2.srt
sl@0
    56
copy E:\unittest\mmf\subtitle\subtitlebmp0.mbm C:\mm\subtitlebmp0.mbm
sl@0
    57
copy E:\unittest\mmf\subtitle\subtitlebmp1.mbm C:\mm\subtitlebmp1.mbm
sl@0
    58
copy E:\unittest\mmf\subtitle\subtitlebmp2.mbm C:\mm\subtitlebmp2.mbm
sl@0
    59
copy E:\unittest\mmf\subtitle\subtitlebmp3.mbm C:\mm\subtitlebmp3.mbm
sl@0
    60
copy E:\unittest\mmf\subtitle\subtitlebmp4.mbm C:\mm\subtitlebmp4.mbm
sl@0
    61
copy E:\unittest\mmf\subtitle\subtitlebmp5.mbm C:\mm\subtitlebmp5.mbm
sl@0
    62
copy E:\unittest\mmf\subtitle\subtitlebmp6.mbm C:\mm\subtitlebmp6.mbm
sl@0
    63
copy E:\unittest\mmf\subtitle\subtitlebmp7.mbm C:\mm\subtitlebmp7.mbm
sl@0
    64
copy E:\unittest\mmf\subtitle\subtitlebmp8.mbm C:\mm\subtitlebmp8.mbm
sl@0
    65
copy E:\unittest\mmf\subtitle\subtitlebmp9.mbm C:\mm\subtitlebmp9.mbm
sl@0
    66
sl@0
    67
sl@0
    68
REM Run test scripts
sl@0
    69
testframework tsu_mmf_ctlfrm_subtitles.script
sl@0
    70
testframework tsu_mmf_avictrl_subtitle.script
sl@0
    71
testframework tsu_mmf_vclnt_u_01_subtitle_gce_on.script
sl@0
    72
testframework tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script
sl@0
    73
testframework tsu_mmf_subtitlegraphic.script
sl@0
    74
testframework tsu_mmf_devsubtitle_panic.script
sl@0
    75
testframework tsu_mmf_devsubtitle.script
sl@0
    76
testframework \mm\tsu_mmf_subtitledecoder.script
sl@0
    77
sl@0
    78
copy C:\Logs\TestResults\*.htm E:\Logs\TestResults\
sl@0
    79
copy C:\Logs\TestResults\mm\*.htm E:\Logs\TestResults\
sl@0
    80
sl@0
    81
del C:\mm\mmf\testfiles\avictrl\*
sl@0
    82
del C:\mm\mmf\testfiles\vclnt\*
sl@0
    83
del C:\mm\mmf\testfiles\subtitlegraphic\*
sl@0
    84
del C:\mm\mmf\testfiles\devsubtitle\*