Skip to content

Commit

Permalink
Add QMCPACK prefix to ERROR and WARNING
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Sep 27, 2024
1 parent 0757361 commit 7c5c08d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMake/macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function(
set_tests_properties(
${TESTNAME}
PROPERTIES FAIL_REGULAR_EXPRESSION
"ERROR"
"QMCPACK ERROR"
PASS_REGULAR_EXPRESSION
"QMCPACK execution completed successfully"
PROCESSORS
Expand All @@ -166,7 +166,7 @@ function(
set_tests_properties(
${TESTNAME}
PROPERTIES FAIL_REGULAR_EXPRESSION
"ERROR"
"QMCPACK ERROR"
PASS_REGULAR_EXPRESSION
"QMCPACK execution completed successfully"
PROCESSORS
Expand Down
4 changes: 2 additions & 2 deletions src/Platforms/Host/OutputManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ inline std::ostream& app_summary() { return infoSummary.getStream(); }

inline std::ostream& app_log() { return infoLog.getStream(); }

inline std::ostream& app_error() { return infoError.getStream() << "ERROR "; }
inline std::ostream& app_error() { return infoError.getStream() << "QMCPACK ERROR "; }

inline std::ostream& app_warning() { return infoLog.getStream() << "WARNING "; }
inline std::ostream& app_warning() { return infoLog.getStream() << "QMCPACK WARNING "; }

inline std::ostream& app_debug_stream() { return infoDebug.getStream(); }

Expand Down

0 comments on commit 7c5c08d

Please sign in to comment.