This is an archive of the discontinued LLVM Phabricator instance.

XFAIL: libcpp-no-deduction-guides in libcxx/test/std/strings/basic.string/string.cons/iter_alloc_deduction.fail.cpp
ClosedPublic

Authored by sqlbyme on Mar 5 2018, 12:14 PM.

Details

Summary

Refactor the previous version method of marking each apple-clang version as UNSUPPORTED and just XFAIL'ing the libcpp-no-deduction-guides instead. This brings this test inline with the same style as iter_alloc_deduction.pass.cpp

Diff Detail

Repository
rL LLVM

Event Timeline

sqlbyme created this revision.Mar 5 2018, 12:14 PM
vsk added a subscriber: vsk.Mar 5 2018, 12:33 PM

Is the test expected to pass with clang-902? If not, then it'd be best to use "apple-clang-9" instead of "apple-clang-9.0".

vsapsai added a subscriber: vsapsai.Mar 5 2018, 2:42 PM
In D44103#1027664, @vsk wrote:

Is the test expected to pass with clang-902? If not, then it'd be best to use "apple-clang-9" instead of "apple-clang-9.0".

That means that most likely it should be apple-clang-8 instead of 8.0. But on the second thought it might be better to keep .fail.cpp and .pass.cpp more in sync. I think

// XFAIL: libcpp-no-deduction-guides

is better than listing all unsupported clang versions (see r325205). I didn't test it but if it works, I prefer this approach.

sqlbyme updated this revision to Diff 137104.Mar 5 2018, 4:13 PM

I copied what Eric did here: https://github.com/llvm-mirror/libcxx/commit/6878e852d1d26cca0abee3013822311cd894ca3e. I have tested this on our bots and the fix works fine.

sqlbyme added a subscriber: EricWF.Mar 9 2018, 8:55 AM

Eric,
Any chance you could have one more look at this and let me know if the
patch is acceptable?

Thanks,
Mike

EricWF accepted this revision.Mar 9 2018, 12:20 PM
This revision is now accepted and ready to land.Mar 9 2018, 12:20 PM
sqlbyme retitled this revision from Adding additional UNSUPPORTED platform in libcxx/test/std/strings/basic.string/string.cons/iter_alloc_deduction.fail.cpp to XFAIL: libcpp-no-deduction-guides in libcxx/test/std/strings/basic.string/string.cons/iter_alloc_deduction.fail.cpp.Mar 9 2018, 2:11 PM
sqlbyme edited the summary of this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.