From 558bed67565110bb01dc56ef135b86c113b8b32a Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 11 Sep 2019 18:03:34 +0200 Subject: don't exit if we fail to prepare a benchmark benchmark.prepare should raise an Exception if it encounters an unrecoverable, intolerable error. --- src/benchmarks/lld.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/benchmarks/lld.py') diff --git a/src/benchmarks/lld.py b/src/benchmarks/lld.py index 97ef545..7ebca13 100644 --- a/src/benchmarks/lld.py +++ b/src/benchmarks/lld.py @@ -61,7 +61,7 @@ class BenchmarkLld(Benchmark): if not os.path.isfile(test_archive): choice = input("Download missing test archive (1.1GB) [Y/n/x] ") if not choice in ['', 'Y', 'y']: - return False + return url = f"https://s3-us-west-2.amazonaws.com/linker-tests/{test_archive}" urlretrieve(url, test_archive, download_reporthook) @@ -77,8 +77,6 @@ class BenchmarkLld(Benchmark): self.args["test"] = os.listdir(test_dir) - return True - def cleanup(self): for perm in self.iterate_args(): -- cgit v1.2.3