11cb0ef41Sopenharmony_ciif not defined DEPOT_TOOLS_PATH goto depot-tools-not-found 21cb0ef41Sopenharmony_ciif "%config%"=="Debug" set test_args=%target_arch%.debug 31cb0ef41Sopenharmony_ciif "%config%"=="Release" set test_args=%target_arch%.release 41cb0ef41Sopenharmony_ciset savedpath=%path% 51cb0ef41Sopenharmony_ciset path=%DEPOT_TOOLS_PATH%;%path% 61cb0ef41Sopenharmony_cipushd . 71cb0ef41Sopenharmony_ci 81cb0ef41Sopenharmony_ciset ERROR_STATUS=0 91cb0ef41Sopenharmony_ciecho calling: tools\make-v8.sh 101cb0ef41Sopenharmony_cish tools\make-v8.sh 111cb0ef41Sopenharmony_ciif errorlevel 1 set ERROR_STATUS=1&goto test-v8-exit 121cb0ef41Sopenharmony_cicd %~dp0 131cb0ef41Sopenharmony_cicd deps\v8 141cb0ef41Sopenharmony_ciecho running 'python tools\dev\v8gen.py %test_args%' 151cb0ef41Sopenharmony_cicall python tools\dev\v8gen.py %test_args% 161cb0ef41Sopenharmony_ciif errorlevel 1 set ERROR_STATUS=1&goto test-v8-exit 171cb0ef41Sopenharmony_ciecho running 'ninja -C out.gn/%test_args% %v8_build_options%' 181cb0ef41Sopenharmony_cicall ninja -C out.gn/%test_args% %v8_build_options% 191cb0ef41Sopenharmony_ciif errorlevel 1 set ERROR_STATUS=1&goto test-v8-exit 201cb0ef41Sopenharmony_ciset path=%savedpath% 211cb0ef41Sopenharmony_ci 221cb0ef41Sopenharmony_ciif not defined test_v8 goto test-v8-intl 231cb0ef41Sopenharmony_ciecho running 'python tools\run-tests.py %common_v8_test_options% %v8_test_options% --slow-tests-cutoff 1000000 --json-test-results v8-tap.xml' 241cb0ef41Sopenharmony_cicall python tools\run-tests.py %common_v8_test_options% %v8_test_options% --slow-tests-cutoff 1000000 --json-test-results v8-tap.xml 251cb0ef41Sopenharmony_cicall python ..\..\tools\v8-json-to-junit.py < v8-tap.xml > v8-tap.json 261cb0ef41Sopenharmony_ci 271cb0ef41Sopenharmony_ci:test-v8-intl 281cb0ef41Sopenharmony_ciif not defined test_v8_intl goto test-v8-benchmarks 291cb0ef41Sopenharmony_ciecho running 'python tools\run-tests.py %common_v8_test_options% intl --slow-tests-cutoff 1000000 --json-test-results v8-intl-tap.xml' 301cb0ef41Sopenharmony_cicall python tools\run-tests.py %common_v8_test_options% intl --slow-tests-cutoff 1000000 --json-test-results ./v8-intl-tap.xml 311cb0ef41Sopenharmony_cicall python ..\..\tools\v8-json-to-junit.py < v8-intl-tap.xml > v8-intl-tap.json 321cb0ef41Sopenharmony_ci 331cb0ef41Sopenharmony_ci:test-v8-benchmarks 341cb0ef41Sopenharmony_ciif not defined test_v8_benchmarks goto test-v8-exit 351cb0ef41Sopenharmony_ciecho running 'python tools\run-tests.py %common_v8_test_options% benchmarks --slow-tests-cutoff 1000000 --json-test-results v8-benchmarks-tap.xml' 361cb0ef41Sopenharmony_cicall python tools\run-tests.py %common_v8_test_options% benchmarks --slow-tests-cutoff 1000000 --json-test-results ./v8-benchmarks-tap.xml 371cb0ef41Sopenharmony_cicall python ..\..\tools\v8-json-to-junit.py < v8-benchmarks-tap.xml > v8-benchmarks-tap.json 381cb0ef41Sopenharmony_cigoto test-v8-exit 391cb0ef41Sopenharmony_ci 401cb0ef41Sopenharmony_ci:test-v8-exit 411cb0ef41Sopenharmony_cipopd 421cb0ef41Sopenharmony_ciif defined savedpath set path=%savedpath% 431cb0ef41Sopenharmony_ciexit /b %ERROR_STATUS% 441cb0ef41Sopenharmony_ci 451cb0ef41Sopenharmony_ci:depot-tools-not-found 461cb0ef41Sopenharmony_ciecho Failed to find a suitable depot tools to test v8 471cb0ef41Sopenharmony_ciexit /b 1 481cb0ef41Sopenharmony_ci 49