From 791119d4af1066b20fa2b5bf8fc82d04d843d51d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 5 Nov 2020 15:53:21 +0100 Subject: build: rewrite tools/ scripts to deno (#8247) This commit rewrites scripts in "tools/" directory to use Deno instead of Python. In return it allows to remove huge number of Python packages in "third_party/". --- tools/util_test.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 tools/util_test.py (limited to 'tools/util_test.py') diff --git a/tools/util_test.py b/tools/util_test.py deleted file mode 100755 index 7f5433114..000000000 --- a/tools/util_test.py +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import os - -from test_util import DenoTestCase, run_tests -from util import (shell_quote_win, root_path) - - -class TestUtil(DenoTestCase): - def test_shell_quote_win(self): - assert shell_quote_win('simple') == 'simple' - assert shell_quote_win( - 'roof/\\isoprojection') == 'roof/\\isoprojection' - assert shell_quote_win('with space') == '"with space"' - assert shell_quote_win('embedded"quote') == '"embedded""quote"' - assert shell_quote_win( - 'a"b""c\\d\\"e\\\\') == '"a""b""""c\\d\\\\""e\\\\\\\\"' - - def test_executable_exists(self): - assert os.path.exists(self.deno_exe) - - -if __name__ == '__main__': - run_tests() -- cgit v1.2.3