summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLisandro Dalcin <dalcinl@gmail.com>2017-10-15 19:26:11 +0300
committerLisandro Dalcin <dalcinl@gmail.com>2017-10-15 21:10:18 +0300
commitf18a951928f8d5e5ea8260be021bb3d3c15a0037 (patch)
tree715bd7089145efb00ba4a6aa2eb50cc0ec00c80c
parent13506a91ff528b8c07121951f6e74063ea1053e9 (diff)
downloadcython-travis-ci.tar.gz
Travis-CI: Exclude tests failing on macOS with C++travis-ci
-rwxr-xr-xruntests.py7
-rw-r--r--tests/travis_macos_cpp_bugs.txt9
2 files changed, 16 insertions, 0 deletions
diff --git a/runtests.py b/runtests.py
index c1966cc7d..eaac72112 100755
--- a/runtests.py
+++ b/runtests.py
@@ -2088,6 +2088,13 @@ def runtests(options, cmd_args, coverage=None):
sys.stderr.write("Backends: %s\n" % ','.join(backends))
languages = backends
+ if 'TRAVIS' in os.environ and sys.platform == 'darwin' and 'cpp' in languages:
+ bugs_file_name = 'travis_macos_cpp_bugs.txt'
+ exclude_selectors += [
+ FileListExcluder(os.path.join(ROOTDIR, bugs_file_name),
+ verbose=verbose_excludes)
+ ]
+
if options.use_common_utility_dir:
common_utility_dir = os.path.join(WORKDIR, 'utility_code')
if not os.path.exists(common_utility_dir):
diff --git a/tests/travis_macos_cpp_bugs.txt b/tests/travis_macos_cpp_bugs.txt
new file mode 100644
index 000000000..17c5d4066
--- /dev/null
+++ b/tests/travis_macos_cpp_bugs.txt
@@ -0,0 +1,9 @@
+complex_numbers_T305
+complex_numbers_c99_T398
+complex_numbers_cpp
+complex_numbers_cxx_T398
+cpdef_extern_func
+cpp_classes_def
+cpp_smart_ptr
+cpp_stl_conversion
+cpp_stl_function