mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 06:32:23 +01:00
15 lines
390 B
C++
15 lines
390 B
C++
// 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();
|
|
}
|