summaryrefslogtreecommitdiff
path: root/tests/test_pretty_print.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_pretty_print.py')
-rwxr-xr-xtests/test_pretty_print.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_pretty_print.py b/tests/test_pretty_print.py
index c0d35bb..0f86cb6 100755
--- a/tests/test_pretty_print.py
+++ b/tests/test_pretty_print.py
@@ -431,6 +431,11 @@ def main():
if '--upload' in sys.argv:
upload = True
debug('will upload test report')
+
+ # Workaround for old cmake's not being able to pass parameters
+ # to CTEST_CUSTOM_POST_TEST
+ if bool(os.getenv("OPENSCAD_UPLOAD_TESTS")):
+ upload = True
# --- End Command Line Parsing ---
contact: Jan Huwald // Impressum