More configuration changes for running the test suite against MSVC's STL

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292337 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-01-18 03:57:38 +00:00
parent 6fbac40a30
commit 44dbdb4b85
4 changed files with 17 additions and 1 deletions

View File

@@ -456,7 +456,14 @@ class Configuration(object):
not self.is_windows:
self.cxx.compile_flags += [
'-include', os.path.join(support_path, 'nasty_macros.hpp')]
if self.is_windows and self.debug_build:
if self.cxx_stdlib_under_test == 'msvc':
# FIXME: Uncomment this once STL commits the support header.
# self.cxx.compile_flags += [
# '-include', os.path.join(support_path,
# 'msvc_stdlib_force_include.h')]
pass
if self.is_windows and self.debug_build and \
self.cxx_stdlib_under_test != 'msvc':
self.cxx.compile_flags += [
'-include', os.path.join(support_path,
'set_windows_crt_report_mode.h')

View File

@@ -0,0 +1,3 @@
# Disable all of the filesystem tests if the correct feature is not available.
if 'msvc' in config.available_features:
config.unsupported = True

View File

@@ -13,6 +13,9 @@
// long& iword(int idx);
// This test compiles but never completes when compiled against the MSVC STL
// UNSUPPORTED: msvc
#include <ios>
#include <string>
#include <cassert>

View File

@@ -13,6 +13,9 @@
// void*& pword(int idx);
// This test compiles but never completes when compiled against the MSVC STL
// UNSUPPORTED: msvc
#include <ios>
#include <string>
#include <cassert>