From 8826e962def3fc1240aa58b26e1e8ce78e63ab85 Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Tue, 20 Apr 2021 14:06:08 -0400 Subject: [PATCH] Add info message when death test is skipped --- unittest/testing/core.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unittest/testing/core.h b/unittest/testing/core.h index 75b0564d02..843d135645 100644 --- a/unittest/testing/core.h +++ b/unittest/testing/core.h @@ -42,6 +42,9 @@ using ::testing::MatchesRegex; auto mesg = ::testing::internal::GetCapturedStdout(); \ ASSERT_THAT(mesg, MatchesRegex(errmsg)); \ } \ + else { \ + std::cerr << "[ ] [ INFO ] Skipping death test (no exception support) \n"; \ + } \ } // whether to print verbose output (i.e. not capturing LAMMPS screen output).