From 6fd378e9af2dab353764afc4bfad834bd14349b7 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Mon, 9 Dec 2013 00:24:55 -0500 Subject: [PATCH] Set upload env. variable in travis env since the cmake version on Travis is too old --- tests/test_pretty_print.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_pretty_print.py b/tests/test_pretty_print.py index c0d35bb8..0f86cb65 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 ---