mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Actually run the MATLAB tests
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -543,7 +543,7 @@ def cmake_slave(mod_name, platform, gitMode = 'incremental', install = True, cma
|
||||
factory.addStep(DirectoryUpload(slavesrc="install_root",masterdest="public_html/binaries",url="binaries",compress="bz2"))
|
||||
return factory
|
||||
|
||||
def swig_matlab_builder(platform, gitMode = 'incremental', cmake_args = [], cmake_env = None):
|
||||
def swig_matlab_builder(platform, gitMode = 'incremental', cmake_args = [], ctest_args = [], cmake_env = None):
|
||||
"""
|
||||
Download SWIG+MATLAB version, use it to build _wrap file for MATLAB builder, upload generated file back to master.
|
||||
|
||||
@@ -577,6 +577,8 @@ def swig_matlab_builder(platform, gitMode = 'incremental', cmake_args = [], cmak
|
||||
# Build the binaries
|
||||
factory.addStep(ShellCommand(command=prepend_path('cmake --build . --target install'),
|
||||
workdir= "build/build" , haltOnFailure = True))
|
||||
# Run simple integration test
|
||||
factory.addStep(ShellCommand(command=["ctest", "--extra-verbose"] + ctest_args, workdir = "build/build", haltOnFailure = True))
|
||||
# Upload the files
|
||||
factory.addStep(DirectoryUpload(slavesrc="install_root",masterdest="public_html/binaries",url="binaries",compress="bz2"))
|
||||
# Return the object
|
||||
|
||||
Reference in New Issue
Block a user