We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b70460 commit 8951004Copy full SHA for 8951004
tests/test_with_catch/catch.cpp
@@ -120,14 +120,15 @@ int main(int argc, char *argv[]) {
120
setenv("PYTHONPATH", updated_pythonpath.c_str(), /*replace=*/1);
121
#endif
122
123
- std::cout << "[ STARTING ] " << get_utc_timestamp() << std::endl;
+ std::cout << "[ STARTING ] " << get_utc_timestamp() << '\n';
124
+ std::cout.flush();
125
126
py::scoped_interpreter guard{};
127
128
auto result = Catch::Session().run(argc, argv);
129
- std::cout << "[ DONE ] " << get_utc_timestamp() << " (result " << result << ")"
130
- << std::endl;
+ std::cout << "[ DONE ] " << get_utc_timestamp() << " (result " << result << ")\n";
131
132
133
return result < 0xff ? result : 0xff;
134
}
0 commit comments