This is an archive of the discontinued LLVM Phabricator instance.

[libcxx][test] Split more debug mode tests
ClosedPublic

Authored by krisb on May 10 2021, 1:35 PM.

Details

Reviewers
Quuxplusone
Group Reviewers
Restricted Project
Commits
rGf8306647fa05: [libcxx][test] Split more debug mode tests
Summary

Split a few more debug mode tests missed in D100592.

Diff Detail

Event Timeline

krisb created this revision.May 10 2021, 1:35 PM
krisb requested review of this revision.May 10 2021, 1:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 10 2021, 1:35 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Quuxplusone accepted this revision.May 11 2021, 12:21 PM
Quuxplusone added inline comments.
libcxx/test/libcxx/containers/sequences/vector/db_cindex.pass.cpp
31–34

I'm confused by this sequence of asserts. :)
Is the intent that D102194 is just a minimal diff to split up these tests (even though the split-up tests remain nonsensical), and then you'll make them less nonsensical via D100595? If so, then OK.

libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_db2.pass.cpp
20–21

FWIW, cstdlib and exception are unused here, and there's probably a lot more of this kind of thing throughout the debug tests. Maybe you want to address it in D100595.

This revision is now accepted and ready to land.May 11 2021, 12:21 PM

@Quuxplusone, thank you for reviewing this!

libcxx/test/libcxx/containers/sequences/vector/db_cindex.pass.cpp
31–34

Yes, the intent of this patch is to make some preparations for D100595 so it can be a little bit smaller. All other changes (like removing redundant includes, fixing asserts, and so on) I'm going to address in D100595 for all the debug mode tests at once. I'll update D100595 when all the dependencies get landed.

This revision was automatically updated to reflect the committed changes.