Skip to content

Commit

Permalink
[libcxx] XFAIL all currently failing libc++ tests for linux.
Browse files Browse the repository at this point in the history
Summary:
Pretty please? We now have a significant number of builders that test libc++. I really want those builders to be green.
Most of these failures are due to differences in locale data, including those in regex. I will continue working on fixing the locale and regex tests but there is no consensus on what the correct direction to go. 

Since the builders display a list of XFAIL tests they are by no means hidden. It just means they are expected failures. Now unexpected failures won't get mixed in with well known and expected failures.

Reviewers: mclow.lists, jroelofs, danalbert

Reviewed By: danalbert

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D5941

llvm-svn: 220512
  • Loading branch information
EricWF committed Oct 23, 2014
1 parent 249d639 commit e608aed
Show file tree
Hide file tree
Showing 22 changed files with 71 additions and 0 deletions.
Expand Up @@ -18,6 +18,11 @@
// has any difference from "C" collation. But I do believe I'm picking
// up the OS's collation files.

// TODO investigation needed.
// Glibc seems to collate files differently from the way Apple's C library does
// it.
// XFAIL: linux-gnu

#include <locale>
#include <string>
#include <cassert>
Expand Down
Expand Up @@ -16,6 +16,9 @@
// iter_type get(iter_type b, iter_type e, bool intl, ios_base& iob,
// ios_base::iostate& err, long double& v) const;

// TODO For zh_CN GLIBC puts the negative sign after the currency symbol.
// XFAIL: linux-gnu

#include <locale>
#include <ios>
#include <streambuf>
Expand Down
Expand Up @@ -16,6 +16,9 @@
// iter_type put(iter_type s, bool intl, ios_base& f, char_type fill,
// long double units) const;

// TODO For zh_CN GLIBC puts the negative sign after the currency symbol.
// XFAIL: linux-gnu

#include <locale>
#include <ios>
#include <streambuf>
Expand Down
Expand Up @@ -18,6 +18,12 @@

// charT thousands_sep() const;

// Failure related to GLIBC's use of U00A0 as mon_thousands_sep
// and U002E as mon_decimal_point.
// TODO: U00A0 should be investigated.
// Possibly related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16006
// XFAIL: linux-gnu

#include <locale>
#include <limits>
#include <cassert>
Expand Down
Expand Up @@ -13,6 +13,9 @@

// iter_type put(iter_type s, ios_base& iob, char_type fill, long double v) const;

// TODO GLIBC uses a different string for positive and negative NAN numbers.
// XFAIL: linux-gnu

#include <locale>
#include <ios>
#include <cassert>
Expand Down
Expand Up @@ -19,6 +19,9 @@
// iter_type get(iter_type s, iter_type end, ios_base& f,
// ios_base::iostate& err, tm *t, char format, char modifier = 0) const;

// TODO: investigation needed
// XFAIL: linux-gnu

#include <locale>
#include <cassert>
#include "test_iterators.h"
Expand Down
Expand Up @@ -19,6 +19,9 @@
// iter_type get(iter_type s, iter_type end, ios_base& f,
// ios_base::iostate& err, tm *t, char format, char modifier = 0) const;

// TODO: investigation needed
// XFAIL: linux-gnu

#include <locale>
#include <cassert>
#include "test_iterators.h"
Expand Down
Expand Up @@ -20,6 +20,9 @@
// get_weekday(iter_type s, iter_type end, ios_base& str,
// ios_base::iostate& err, tm* t) const;

// TODO: investigation needed
// XFAIL: linux-gnu

#include <locale>
#include <cassert>
#include "test_iterators.h"
Expand Down
Expand Up @@ -20,6 +20,9 @@
// get_weekday(iter_type s, iter_type end, ios_base& str,
// ios_base::iostate& err, tm* t) const;

// TODO: investigation needed
// XFAIL: linux-gnu

#include <locale>
#include <cassert>
#include "test_iterators.h"
Expand Down
Expand Up @@ -24,6 +24,9 @@
// ~time_put_byname();
// };

// TODO: investigation needed
// XFAIL: linux-gnu

#include <locale>
#include <cassert>
#include "test_iterators.h"
Expand Down
Expand Up @@ -14,6 +14,9 @@
// iter_type put(iter_type s, ios_base& str, char_type fill, const tm* t,
// char format, char modifier = 0) const;

// TODO: investigation needed
// XFAIL: linux-gnu

#include <locale>
#include <cassert>
#include "test_iterators.h"
Expand Down
Expand Up @@ -16,6 +16,9 @@

// string grouping() const;

// TODO: investigation needed
// XFAIL: linux-gnu

#include <locale>
#include <cassert>

Expand Down
Expand Up @@ -16,6 +16,9 @@

// char_type thousands_sep() const;

// TODO: investigation needed
// XFAIL: linux-gnu

#include <locale>
#include <cassert>

Expand Down
3 changes: 3 additions & 0 deletions libcxx/test/re/re.alg/re.alg.match/basic.pass.cpp
Expand Up @@ -18,6 +18,9 @@
// const basic_regex<charT, traits>& e,
// regex_constants::match_flag_type flags = regex_constants::match_default);

// TODO: investigation needed
// XFAIL: linux-gnu

#include <regex>
#include <cassert>

Expand Down
3 changes: 3 additions & 0 deletions libcxx/test/re/re.alg/re.alg.match/ecma.pass.cpp
Expand Up @@ -18,6 +18,9 @@
// const basic_regex<charT, traits>& e,
// regex_constants::match_flag_type flags = regex_constants::match_default);

// TODO: investigation needed
// XFAIL: linux-gnu

#include <regex>
#include <cassert>

Expand Down
3 changes: 3 additions & 0 deletions libcxx/test/re/re.alg/re.alg.match/extended.pass.cpp
Expand Up @@ -18,6 +18,9 @@
// const basic_regex<charT, traits>& e,
// regex_constants::match_flag_type flags = regex_constants::match_default);

// TODO: investigation needed
// XFAIL: linux-gnu

#include <regex>
#include <cassert>

Expand Down
3 changes: 3 additions & 0 deletions libcxx/test/re/re.alg/re.alg.search/awk.pass.cpp
Expand Up @@ -18,6 +18,9 @@
// const basic_regex<charT, traits>& e,
// regex_constants::match_flag_type flags = regex_constants::match_default);

// TODO: investigation needed
// XFAIL: linux-gnu

#include <regex>
#include <cassert>

Expand Down
3 changes: 3 additions & 0 deletions libcxx/test/re/re.alg/re.alg.search/basic.pass.cpp
Expand Up @@ -18,6 +18,9 @@
// const basic_regex<charT, traits>& e,
// regex_constants::match_flag_type flags = regex_constants::match_default);

// TODO: investigation needed
// XFAIL: linux-gnu

#include <regex>
#include <cassert>

Expand Down
3 changes: 3 additions & 0 deletions libcxx/test/re/re.alg/re.alg.search/ecma.pass.cpp
Expand Up @@ -18,6 +18,9 @@
// const basic_regex<charT, traits>& e,
// regex_constants::match_flag_type flags = regex_constants::match_default);

// TODO: investigation needed
// XFAIL: linux-gnu

#include <regex>
#include <cassert>

Expand Down
3 changes: 3 additions & 0 deletions libcxx/test/re/re.alg/re.alg.search/extended.pass.cpp
Expand Up @@ -18,6 +18,9 @@
// const basic_regex<charT, traits>& e,
// regex_constants::match_flag_type flags = regex_constants::match_default);

// TODO: investigation needed
// XFAIL: linux-gnu

#include <regex>
#include <cassert>

Expand Down
3 changes: 3 additions & 0 deletions libcxx/test/re/re.traits/lookup_collatename.pass.cpp
Expand Up @@ -17,6 +17,9 @@
// string_type
// lookup_collatename(ForwardIterator first, ForwardIterator last) const;

// TODO: investigation needed
// XFAIL: linux-gnu

#include <regex>
#include <iterator>
#include <cassert>
Expand Down
3 changes: 3 additions & 0 deletions libcxx/test/re/re.traits/translate_nocase.pass.cpp
Expand Up @@ -17,6 +17,9 @@
// XFAIL: with_system_lib=x86_64-apple-darwin11
// XFAIL: with_system_lib=x86_64-apple-darwin12

// TODO: investigation needed
// XFAIL: linux-gnu

#include <regex>
#include <cassert>

Expand Down

0 comments on commit e608aed

Please sign in to comment.