Revert get testsuite running on FreeBSD.
There is a similar patch up for review. I'll submit my changes via that.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@215750 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/lit.cfg b/test/lit.cfg
index 2eb130a..6c06373 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -202,14 +202,6 @@
'ru_RU.UTF-8': 'Russian_Russia.1251',
'zh_CN.UTF-8': 'Chinese_China.936',
},
- 'FreeBSD' : {
- 'en_US.UTF-8': 'en_US.UTF-8',
- 'cs_CZ.ISO8859-2': 'cs_CZ.ISO8859-2',
- 'fr_FR.UTF-8': 'fr_FR.UTF-8',
- 'fr_CA.ISO8859-1': 'fr_CA.ISO8859-1',
- 'ru_RU.UTF-8': 'ru_RU.UTF-8',
- 'zh_CN.UTF-8': 'zh_CN.UTF-8',
- },
}
for feature, loc in locales[platform.system()].items():
@@ -287,8 +279,6 @@
link_flags += ['-lsupc++']
elif cxx_abi == 'libcxxabi':
link_flags += ['-lc++abi']
- elif cxx_abi == 'libcxxrt':
- link_flags += ['-lcxxrt']
elif cxx_abi == 'none':
pass
else:
@@ -299,8 +289,6 @@
elif sys.platform == 'linux2':
link_flags += [ '-lgcc_eh', '-lc', '-lm', '-lpthread',
'-lrt', '-lgcc_s']
- elif sys.platform == 'freebsd10':
- link_flags += ['-lc', '-lm', '-lpthread', '-lgcc_s']
else:
lit_config.fatal("unrecognized system")
@@ -326,8 +314,6 @@
link_flags += ['-Wl,-R', libcxx_obj_root + '/lib']
compile_flags += ['-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS',
'-D__STDC_CONSTANT_MACROS']
-elif sys.platform == 'freebsd10':
- lit_config.warning('support for freebsd10 is experimental')
else:
lit_config.fatal("unrecognized system")