mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
fix benchmark_test (#6814)
This commit is contained in:
parent
fa61956f03
commit
628c10b552
2 changed files with 0 additions and 6 deletions
|
@ -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)
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue