test1182 743 B

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