2
0

testone.cmd 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ::-------------------------------------------------------------------------------------------------------
  2. :: Copyright (C) Microsoft. All rights reserved.
  3. :: Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. ::-------------------------------------------------------------------------------------------------------
  5. @echo off
  6. setlocal
  7. if "%_ENTRY_SCRIPT_NAME%"=="" (
  8. set _ENTRY_SCRIPT_NAME=%0
  9. )
  10. REM check that we have enough parameters
  11. if "%1"=="" (
  12. goto :usage
  13. )
  14. if "%2"=="" (
  15. goto :usage
  16. )
  17. :: ============================================================================
  18. :: Main script
  19. :: ============================================================================
  20. :main
  21. set JENKINS_BUILD=True
  22. call %~dp0..\test\jenkins.testone.cmd %*
  23. goto :end
  24. :: ============================================================================
  25. :: Not enough params
  26. :: ============================================================================
  27. :usage
  28. echo Not enough parameters. Please specify architecture and type.
  29. echo Examples:
  30. echo.
  31. echo %_ENTRY_SCRIPT_NAME% x86 debug
  32. echo %_ENTRY_SCRIPT_NAME% x86 test
  33. echo.
  34. echo %_ENTRY_SCRIPT_NAME% x64 debug
  35. echo %_ENTRY_SCRIPT_NAME% x64 test
  36. goto :end
  37. :: ============================================================================
  38. :: Epilogue of script (cleanup)
  39. :: ============================================================================
  40. :end
  41. endlocal