1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

fix benchmark_test (#6814)

This commit is contained in:
Ryan Dahl 2020-07-20 01:20:51 -04:00 committed by GitHub
parent fa61956f03
commit 628c10b552
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View file

@ -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)

View file

@ -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,