summaryrefslogtreecommitdiff
path: root/tests/test_pretty_print.py
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-12-09 05:48:26 (GMT)
committerMarius Kintel <marius@kintel.net>2013-12-09 05:48:26 (GMT)
commit7e0917d6b22fe8225fff7c66d352145d669a4a5d (patch)
tree10923429ee676f33cc5dd7438500c4a81676fe78 /tests/test_pretty_print.py
parent3bd224b990f6d6b4c51072bf0c3ae895fbfe707e (diff)
parente96305ddf5a728eb323a86e4e900752ae2a6ccfe (diff)
Merge branch 'travis'
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