mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
Corresponding code changes
This commit is contained in:
committed by
Lars Müller
parent
781c7a800f
commit
ae4cd1ebf1
14
src/catch.h
Normal file
14
src/catch.h
Normal file
@@ -0,0 +1,14 @@
|
||||
// Minetest
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
// We want to have catch write to rawstream (stderr) instead of stdout.
|
||||
// This should be included instead of <catch_amalgamated.hpp>
|
||||
// to patch the output streams accordingly.
|
||||
#define CATCH_CONFIG_NOSTDOUT
|
||||
#include <catch_amalgamated.hpp>
|
||||
|
||||
namespace Catch {
|
||||
std::ostream& cout();
|
||||
std::ostream& clog();
|
||||
std::ostream& cerr();
|
||||
}
|
Reference in New Issue
Block a user