diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-02 03:10:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-02 04:59:16 +0300 |
commit | bab9de2a52929fe2b45ecddb1eb09da3378e303b (patch) | |
tree | cde61c5cb86dfad1c90aa414a8c7b1711ec25782 /build_files/buildbot/worker_test.py | |
parent | 28ebe827e60c84ed4731a9f8aa701ccf2d8be0b0 (diff) |
Cleanup: pep8, blank lines
Diffstat (limited to 'build_files/buildbot/worker_test.py')
-rw-r--r-- | build_files/buildbot/worker_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_files/buildbot/worker_test.py b/build_files/buildbot/worker_test.py index b959568a5c6..db02801007e 100644 --- a/build_files/buildbot/worker_test.py +++ b/build_files/buildbot/worker_test.py @@ -22,18 +22,21 @@ import buildbot_utils import os import sys + def get_ctest_arguments(builder): args = ['--output-on-failure'] if builder.platform == 'win': args += ['-C', 'Release'] return args + def test(builder): os.chdir(builder.build_dir) command = builder.command_prefix + ['ctest'] + get_ctest_arguments(builder) buildbot_utils.call(command) + if __name__ == "__main__": builder = buildbot_utils.create_builder_from_arguments() test(builder) |