From 5a05349a81297a88ab48775872a42eb277d840a2 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 17 Aug 2020 08:01:53 +0000 Subject: Avoid test failures due to outdated packages Indicate missing test scripts prominently in the result but do not count them as an error. --- src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py b/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py index bb8aaa0bd2..95fa0a95ea 100644 --- a/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py +++ b/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py @@ -1,4 +1,4 @@ -# $OpenBSD: tlsfuzzer.py,v 1.14 2020/08/15 16:17:55 tb Exp $ +# $OpenBSD: tlsfuzzer.py,v 1.15 2020/08/17 08:01:53 tb Exp $ # # Copyright (c) 2020 Theo Buehler # @@ -514,6 +514,11 @@ class TestRunner: else: print(f"{script[:68]:<72}", end=" ", flush=True) start = timer() + script = os.path.join(self.scriptdir, script) + if not os.path.exists(script): + # likely an outdated py3-tlsfuzzer package + print("MISSING") + return test = subprocess.run( ["python3", os.path.join(self.scriptdir, script)] + args, capture_output=not self.verbose, -- cgit v1.2.3-55-g6feb