1*6236dae4SAndroid Build Coastguard Worker<testcase> 2*6236dae4SAndroid Build Coastguard Worker<info> 3*6236dae4SAndroid Build Coastguard Worker<keywords> 4*6236dae4SAndroid Build Coastguard Workerruntests.pl 5*6236dae4SAndroid Build Coastguard Worker</keywords> 6*6236dae4SAndroid Build Coastguard Worker</info> 7*6236dae4SAndroid Build Coastguard Worker 8*6236dae4SAndroid Build Coastguard Worker# 9*6236dae4SAndroid Build Coastguard Worker# Client-side 10*6236dae4SAndroid Build Coastguard Worker<client> 11*6236dae4SAndroid Build Coastguard Worker<server> 12*6236dae4SAndroid Build Coastguard Workernone 13*6236dae4SAndroid Build Coastguard Worker</server> 14*6236dae4SAndroid Build Coastguard Worker<name> 15*6236dae4SAndroid Build Coastguard WorkerVerify that runtests.pl accepts an exclude file with the -E option 16*6236dae4SAndroid Build Coastguard Worker</name> 17*6236dae4SAndroid Build Coastguard Worker 18*6236dae4SAndroid Build Coastguard Worker<command type="perl"> 19*6236dae4SAndroid Build Coastguard Worker%SRCDIR/runtests.pl -o TESTDIR=%LOGDIR/data -o LOGDIR=%LOGDIR/log -E %LOGDIR/test%TESTNUMBER-exclude-file 1 20*6236dae4SAndroid Build Coastguard Worker</command> 21*6236dae4SAndroid Build Coastguard Worker<precheck> 22*6236dae4SAndroid Build Coastguard Workermkdir %LOGDIR/data ; mkdir %LOGDIR/log; cp %SRCDIR/data/test1 %LOGDIR/data; echo 'test:1:Test should not run for unit test %TESTNUMBER' > %LOGDIR/test%TESTNUMBER-exclude-file 23*6236dae4SAndroid Build Coastguard Worker</precheck> 24*6236dae4SAndroid Build Coastguard Worker</client> 25*6236dae4SAndroid Build Coastguard Worker 26*6236dae4SAndroid Build Coastguard Worker<verify> 27*6236dae4SAndroid Build Coastguard Worker<errorcode> 28*6236dae4SAndroid Build Coastguard Worker1 29*6236dae4SAndroid Build Coastguard Worker</errorcode> 30*6236dae4SAndroid Build Coastguard Worker<postcheck> 31*6236dae4SAndroid Build Coastguard Workergrep -q "Test should not run for unit test %TESTNUMBER" %LOGDIR/stdout%TESTNUMBER 32*6236dae4SAndroid Build Coastguard Worker</postcheck> 33*6236dae4SAndroid Build Coastguard Worker</verify> 34*6236dae4SAndroid Build Coastguard Worker 35*6236dae4SAndroid Build Coastguard Worker</testcase> 36