mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-22 16:37:40 +08:00
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:
@@ -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')
|
||||
|
3
test/std/experimental/string.view/lit.local.cfg
Normal file
3
test/std/experimental/string.view/lit.local.cfg
Normal 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
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user