[libcxx-commits] [PATCH] D102192: [libcxx][test] Make string.modifiers/clear_and_shrink_db1.pass.cpp a regular mode test
Kristina Bessonova via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 11 01:16:58 PDT 2021
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
krisb marked an inline comment as done.
Closed by commit rG65e40f0b265d: [libcxx][test] Make string.modifiers/clear_and_shrink_db1.pass.cpp a regular… (authored by krisb).
Changed prior to commit:
https://reviews.llvm.org/D102192?vs=344182&id=344310#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102192/new/
https://reviews.llvm.org/D102192
Files:
libcxx/test/libcxx/strings/basic.string/string.modifiers/clear_and_shrink.pass.cpp
libcxx/test/libcxx/strings/basic.string/string.modifiers/clear_and_shrink_db1.pass.cpp
Index: libcxx/test/libcxx/strings/basic.string/string.modifiers/clear_and_shrink.pass.cpp
===================================================================
--- libcxx/test/libcxx/strings/basic.string/string.modifiers/clear_and_shrink.pass.cpp
+++ libcxx/test/libcxx/strings/basic.string/string.modifiers/clear_and_shrink.pass.cpp
@@ -10,11 +10,6 @@
// Call __clear_and_shrink() and ensure string invariants hold
-// UNSUPPORTED: libcxx-no-debug-mode
-
-// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1
-#define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : std::exit(0))
-
#include <string>
#include <cassert>
@@ -39,4 +34,6 @@
assert(l.size() == 0);
assert(l.capacity() < cap);
}
+
+ return 0;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102192.344310.patch
Type: text/x-patch
Size: 717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210511/7f37e4ca/attachment-0001.bin>
More information about the libcxx-commits
mailing list