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.

50 lines
1001 B

  1. @ECHO OFF
  2. if "%1" == "" goto Usage
  3. regsvr32 /s servctl.dll
  4. regsvr32 /s servctla.dll
  5. regsvr32 /s servctlf.dll
  6. regsvr32 /s servctlb.dll
  7. net start w3svc
  8. net start msdtc
  9. @echo *************************************************************
  10. @echo Running Smoke Scripts with %1 thread(s)
  11. @echo *************************************************************
  12. del logs\*.log
  13. cd smoke
  14. call ..\denclnt ..\denver smoke %1 ..\ -a1 -p3 -olocalhost
  15. cd ..
  16. copy smoke\*.asp gsmoke
  17. copy smoke\*.htm gsmoke
  18. cd gsmoke
  19. call ..\denclnt ..\denver gsmoke %1 ..\ -a1 -p3 -olocalhost
  20. cd ..
  21. rem **************************************************************
  22. rem check to see if developer supplied email
  23. rem if so cd to their dir and run those tests
  24. rem **************************************************************
  25. if "%2"=="" goto skipdev
  26. cd %2
  27. call %2.bat
  28. cd ..
  29. :skipdev
  30. pass
  31. goto end
  32. :Usage
  33. @echo **************************
  34. @echo Usage:
  35. @echo smoke NUM_THREADS [email]
  36. @echo **************************
  37. :end
  38. echo on