From df72a74a852500edd517cbcb99a60fe14e841efd Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Wed, 1 Feb 2023 11:40:44 +0100 Subject: [PATCH] Add vypthon to python scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IIRC, this allows the scripts to be executable on Windows. Fixed: 1411728 Change-Id: I4bf7b9ec4fba4c2f5312c64d89c1b2baa6b8ccc1 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4209272 Commit-Queue: Alex Rudenko Reviewed-by: Simon Zünd --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7a21527165..0a013b5a8f 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,8 @@ "auto-debug-unittest": "DEBUG_TEST=1 npm run auto-unittest --", "auto-e2etest": "npm run build && npm run e2etest --", "auto-interactionstest": "npm run build && npm run interactionstest --", - "auto-unittest": "scripts/test/run_auto_unittests.py --no-text-coverage", - "auto-unittest-coverage": "scripts/test/run_auto_unittests.py --no-text-coverage --coverage", + "auto-unittest": "vpython scripts/test/run_auto_unittests.py --no-text-coverage", + "auto-unittest-coverage": "vpython scripts/test/run_auto_unittests.py --no-text-coverage --coverage", "prebuild": "gn gen out/Default", "bake-strings": "npm run collect-strings && vpython third_party/node/node.py --output third_party/i18n/bake-strings.js front_end/core/i18n/locales", "build": "autoninja -C out/Default", @@ -55,7 +55,7 @@ "test": "vpython third_party/node/node.py --output scripts/npm_test.js", "test-local": "vpython third_party/node/node.py --output scripts/npm_test.js --layout-tests-directory=test/webtests/", "ts_library-test": "./third_party/typescript/tests/verify_ts_libary.sh", - "unittest": "scripts/test/run_unittests.py --no-text-coverage", + "unittest": "vpython scripts/test/run_unittests.py --no-text-coverage", "watch": "vpython third_party/node/node.py --output scripts/watch_build.js" } }