diff options
author | Marius Kintel <marius@kintel.net> | 2013-12-09 05:24:55 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-12-09 05:24:55 (GMT) |
commit | 6fd378e9af2dab353764afc4bfad834bd14349b7 (patch) | |
tree | 12c23249b1c2e3cc2de204c6c7d9313cc5bf4ed0 /tests/test_pretty_print.py | |
parent | a22394fc392451919f5b378ffe85dbeac7fd3a22 (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-x | tests/test_pretty_print.py | 5 |
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 --- |