summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-07-18 03:00:09 +0000
committerEric Fiselier <eric@efcs.ca>2016-07-18 03:00:09 +0000
commitfb946da259d26e703c8da7f7cb155fa244757f75 (patch)
treee582e9d6168226ea1c961c1e6ee664cb9aa54dfd /libcxx/test/std
parent03f46fc2eda586c946f875195db87b942d139452 (diff)
downloadbcm5719-llvm-fb946da259d26e703c8da7f7cb155fa244757f75.tar.gz
bcm5719-llvm-fb946da259d26e703c8da7f7cb155fa244757f75.zip
Add checkpoint diagnostics to help diagnose buildbot failures.
llvm-svn: 275754
Diffstat (limited to 'libcxx/test/std')
-rw-r--r--libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp b/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp
index fdfab576904..34af418cc27 100644
--- a/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp
+++ b/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp
@@ -28,10 +28,12 @@
#include <cassert>
#include "platform_support.h" // locale name macros
+#include "assert_checkpoint.h"
int main()
{
{
+ CHECKPOINT("constructing en-US.UTF-8");
std::locale l(LOCALE_en_US_UTF_8);
{
assert(std::has_facet<std::ctype_byname<char> >(l));
@@ -45,6 +47,7 @@ int main()
}
}
{
+ CHECKPOINT("constructing default locale");
std::locale l("");
{
assert(std::has_facet<std::ctype_byname<char> >(l));
@@ -58,6 +61,7 @@ int main()
}
}
{
+ CHECKPOINT("constructing C locale");
std::locale l("C");
{
assert(std::has_facet<std::ctype_byname<char> >(l));
OpenPOWER on IntegriCloud