aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/lld.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-09-11 18:03:34 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-09-11 19:08:13 +0200
commit558bed67565110bb01dc56ef135b86c113b8b32a (patch)
tree3657df330cde2fdb14dc00a5b117e16ef4957111 /src/benchmarks/lld.py
parent84374b4b4e41c4bb7896092c10098b5e6b5f68c1 (diff)
downloadallocbench-558bed67565110bb01dc56ef135b86c113b8b32a.tar.gz
allocbench-558bed67565110bb01dc56ef135b86c113b8b32a.zip
don't exit if we fail to prepare a benchmark
benchmark.prepare should raise an Exception if it encounters an unrecoverable, intolerable error.
Diffstat (limited to 'src/benchmarks/lld.py')
-rw-r--r--src/benchmarks/lld.py4
1 files changed, 1 insertions, 3 deletions
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():