From 628c10b55259f9d2b215b4203c2228062da189dc Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 20 Jul 2020 01:20:51 -0400 Subject: [PATCH] fix benchmark_test (#6814) --- tools/benchmark.py | 4 ---- tools/benchmark_test.py | 2 -- 2 files changed, 6 deletions(-) diff --git a/tools/benchmark.py b/tools/benchmark.py index b79f35ac83..74a5fb6655 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -60,11 +60,7 @@ def get_binary_sizes(build_dir): for file_name in file_names: if not file_name in [ "CLI_SNAPSHOT.bin", - "CLI_SNAPSHOT.js", - "CLI_SNAPSHOT.js.map", "COMPILER_SNAPSHOT.bin", - "COMPILER_SNAPSHOT.js", - "COMPILER_SNAPSHOT.js.map", ]: continue file_path = os.path.join(parent_dir, file_name) diff --git a/tools/benchmark_test.py b/tools/benchmark_test.py index 82d8c4fd8b..efd4594b64 100755 --- a/tools/benchmark_test.py +++ b/tools/benchmark_test.py @@ -43,8 +43,6 @@ class TestBenchmark(DenoTestCase): def test_binary_size(self): binary_size_dict = benchmark.get_binary_sizes(self.build_dir) assert binary_size_dict["deno"] > 0 - assert binary_size_dict["CLI_SNAPSHOT.js"] > 0 - assert binary_size_dict["CLI_SNAPSHOT.js.map"] > 0 assert binary_size_dict["CLI_SNAPSHOT.bin"] > 0 @unittest.skipIf("linux" not in sys.platform,