diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2020-08-17 08:01:54 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2020-08-17 08:01:54 +0000 |
commit | 1944a8bb6965ec88d9275f0d64e0d36616a63068 (patch) | |
tree | 38dd9071eeb1f68636b97c167114352afe785f06 /regress | |
parent | 54f7314baebf5a3aa12f25143fc8663d8295a32f (diff) |
Avoid test failures due to outdated packages
Indicate missing test scripts prominently in the result but do not
count them as an error.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libssl/tlsfuzzer/tlsfuzzer.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py b/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py index bb8aaa0bd20..95fa0a95ea1 100644 --- a/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py +++ b/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 <tb@openbsd.org> # @@ -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, |