Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.4 KiB

  1. @rem ---------------------------------------------------------------
  2. @rem
  3. @rem Script to Start the Custer Administrator Sanity Test.
  4. @rem You must specify the name of the Cluster.
  5. @rem You may optionally supply the language file to use.
  6. @rem You may optionally run the abbreviated version of the test.
  7. @rem
  8. @rem ----------------------------------------------------------------
  9. @if "%1" == "/?" goto usage
  10. @if "%1" == "-?" goto usage
  11. @rem set environment variables
  12. @set TESTLOOP=1
  13. @set LANGUAGE=english
  14. @set CLUSTESTTYPE=BVTTEST
  15. @if "%1" == "" goto usage
  16. @if "%1" == "full" goto usage
  17. @set CLUSNAME=%1
  18. @if "%2" == "" goto launch
  19. @if "%2" == "full" set CLUSTESTTYPE=FULLTEST& goto launch
  20. @set LANGUAGE=%2
  21. @if "%3" == "" goto launch
  22. @if "%3" == "full" set CLUSTESTTYPE=FULLTEST
  23. :launch
  24. mtrun cluadms.pcd
  25. @echo *** Results Logged to cluadms.log ***
  26. goto done
  27. :usage
  28. @echo ----------------------------------------------------------------
  29. @echo usage: castest ClusterName [Language] [Mode]
  30. @echo.
  31. @echo ClusterName - Name of cluster to run test on
  32. @echo Language - Language version of software (english, japanese, etc.)
  33. @echo Mode - Test mode to run in: bvt (5 minutes long) or
  34. @echo full (10-15 minutes long)
  35. @echo.
  36. @echo Note: Default language is english; default mode is bvt.
  37. @echo ----------------------------------------------------------------
  38. :done