Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-07-02 16:31:06 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-07-02 16:31:06 +0300
commite7356bb01198271617c130788f47facf28259f67 (patch)
tree4e9c24ae555e84d9614566575c41232a09f5a02a /build_files
parente4df8b005fef68a58a60e277286e689cf5dbac95 (diff)
Buildbot: Fix missing configuration for Win ctest
Diffstat (limited to 'build_files')
-rw-r--r--build_files/buildbot/slave_test.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/build_files/buildbot/slave_test.py b/build_files/buildbot/slave_test.py
index f5d998a4ee5..fe24c577966 100644
--- a/build_files/buildbot/slave_test.py
+++ b/build_files/buildbot/slave_test.py
@@ -40,8 +40,11 @@ if "cmake" in builder:
blender_version = '2.80'
blender_version_dir = os.path.join(install_dir, blender_version)
command_prefix = []
+ extra_ctest_args = []
- if builder.startswith('linux'):
+ if builder.startswith('win'):
+ extra_ctest_args += ['-C', 'Release']
+ elif builder.startswith('linux'):
tokens = builder.split("_")
glibc = tokens[1]
if glibc == 'glibc224':
@@ -59,7 +62,8 @@ if "cmake" in builder:
ctest_env['BLENDER_SYSTEM_DATAFILES'] = os.path.join(blender_version_dir, 'datafiles')
os.chdir(build_dir)
- retcode = subprocess.call(command_prefix + ['ctest', '--output-on-failure'], env=ctest_env)
+ retcode = subprocess.call(command_prefix + ['ctest', '--output-on-failure'] + extra_ctest_args,
+ env=ctest_env)
# Always exit with a success, for until we know all the tests are passing
# on all builders.