1:: ###############################################################################
2:: #
3:: # Copyright (C) 2009-2013 Nintendo.  All rights reserved.
4:: #
5:: # These coded instructions, statements, and computer programs contain
6:: # proprietary information of Nintendo of America Inc. and/or Nintendo
7:: # Company Ltd., and are protected by Federal copyright law.  They may
8:: # not be disclosed to third parties or copied or duplicated in any form,
9:: # in whole or in part, without the prior written consent of Nintendo.
10:: #
11:: ###############################################################################
12
13cafex run -b %CAFE_ROOT%\system\bin\ghs\cafe\demo\gx2\garden\motionBlur\DEBUG\motionBlur.rpx
14cafex stop
15
16mkdir %CAFE_ROOT%\masteringtemp
17
18::Test1 - Basic mastering test- Provide all paths
19echo *******TEST 1 START*******
20cafex makemaster -r %CAFE_ROOT%\system\bin\ghs\cafe\demo\gx2\garden\motionBlur\DEBUG\motionBlur.rpx -o %CAFE_ROOT%\motionBlur_CafeX_DEBUG -w %CAFE_ROOT%\masteringtemp > Test1_log.txt
21comparewumad.exe %CAFE_ROOT%\system\bin\ghs\cafe\demo\gx2\garden\motionBlur\DEBUG\motionBlur.wumad motionBlur_Script_DEBUG.wumad > Test1_cmp.txt
22echo *******TEST 1 END*********
23
24::Test2 - Basic mastering test- Provide no paths
25echo *******TEST 2 START*******
26cafex makemaster > Test2_log.txt
27comparewumad.exe %CAFE_ROOT%\system\bin\ghs\cafe\demo\gx2\garden\motionBlur\DEBUG\motionBlur.wumad %CAFE_ROOT%\motionBlur_Script_DEBUG.wumad > Test2_cmp.txt
28echo *******TEST 2 END*********
29
30echo *******TEST 3 START*******
31::Test3 - Add system partition
32cafex makemaster -u -o %CAFE_ROOT%\motionBlur_CafeX_D_Part > Test3_log.txt
33comparewumad.exe %CAFE_ROOT%\system\bin\ghs\cafe\demo\gx2\garden\motionBlur\DEBUG\motionBlur.wumad %CAFE_ROOT%\motionBlur_Script_DEBUG_Part.wumad > Test3_cmp.txt
34echo *******TEST 3 END*********
35
36echo *******TEST 4 START*******
37::Test4 - Create patch
38cafex makemaster -o %CAFE_ROOT%\helloworldv2_CafeX -p %CAFE_ROOT%\helloworldv1.wumad -r %CAFE_ROOT%\system\bin\ghs\cafe\demo\hellworld\DEBUG\helloworld.rpx > Test4_log.txt
39comparewumad.exe %CAFE_ROOT%\helloworldv2_CafeX.wumad %CAFE_ROOT%\helloworldv2.wumad > Test4_cmp.txt
40::Check for .diff existence
41
42echo *******TEST 4 END*********
43
44::Last test - help message
45cafex makemaster -h