- Added additional tests
- Improved existing tests
- Moved misplaced test files to the correct location
Details
- Reviewers
philnik - Group Reviewers
Restricted Project - Commits
- rG6614d36d7114: [libc++][spaceship] Additional tests for `operator<=>` `map` and `multimap`
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Try to fix CI: Ignore expected-error message with {{}} syntax due to differing error message locally vs remotely (on CI).
You probably want to update your local compiler then. We only support Clang 15, 16 and trunk.
libcxx/test/std/containers/associative/map/map.nonmember/compare.three_way.verify.cpp | ||
---|---|---|
22 | This include doesn't seem to be used, | |
29 | IMO it would be better to have two separate // expected-errors to make sure they are actually generated by the two lines below. |
My local compiler is Apple Clang 14.0.3 which is based on Clang 15, which is the latest from Apple.
What is the difference in error messages then? Can you check the actual message with a regex maybe? (// expected-error-re {{... {{regex}} ...}})
I just updated this test with the `//expected-error-re {{... {{regex}} }} syntax now. Apple Clang outputs "static_assert" vs "static assertion" on the CI. I've seen a patch that you want to remove this syntax. Then I guess may need to revert this change and figure out how to setup a non-Apple compiler.
I thought AppleClang also outputs static assertion. If that's not the case yet, I guess I have to wait until we update it.
This include doesn't seem to be used,