[libcxx-commits] [PATCH] D154557: [libc++] Add more general death tests and make them work on more platforms
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 5 18:29:15 PDT 2023
philnik created this revision.
philnik added a reviewer: ldionne.
Herald added a subscriber: mgrang.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
This version of death tests spawns processes instead of forking the current process. This makes it much easier to port the tests to more platforms, since a lot of platforms don't support forking since it's a very intrusive and expensive operation.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154557
Files:
libcxx/test/libcxx/algorithms/alg.sorting/assert.min.max.pass.cpp
libcxx/test/libcxx/algorithms/alg.sorting/assert.sort.invalid_comparator.pass.cpp
libcxx/test/libcxx/algorithms/debug_less.inconsistent.pass.cpp
libcxx/test/libcxx/algorithms/debug_less.pass.cpp
libcxx/test/libcxx/algorithms/debug_three_way_comp.inconsistent.pass.cpp
libcxx/test/libcxx/containers/sequences/array/array.zero/assert.back.pass.cpp
libcxx/test/libcxx/containers/sequences/array/array.zero/assert.front.pass.cpp
libcxx/test/libcxx/containers/sequences/array/array.zero/assert.subscript.pass.cpp
libcxx/test/support/terminating_test_helper.h
libcxx/test/support/test_macros.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154557.537559.patch
Type: text/x-patch
Size: 37992 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230706/d54e1216/attachment-0001.bin>
More information about the libcxx-commits
mailing list