summaryrefslogtreecommitdiff
path: root/tests/test_pretty_print.py
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-12-09 05:24:55 (GMT)
committerMarius Kintel <marius@kintel.net>2013-12-09 05:24:55 (GMT)
commit6fd378e9af2dab353764afc4bfad834bd14349b7 (patch)
tree12c23249b1c2e3cc2de204c6c7d9313cc5bf4ed0 /tests/test_pretty_print.py
parenta22394fc392451919f5b378ffe85dbeac7fd3a22 (diff)
Set upload env. variable in travis env since the cmake version on Travis is too old
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