Skip to content
Snippets Groups Projects
Commit a430cd7d authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

flush

parent 22defddf
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ std::unique_ptr<OutputData<double>> domainData(const std::string& test_name,
FileSystemUtils::jointPath(BATesting::TestOutDir_PyStd(), test_name);
const std::string output_path = output_name + ".ref.int.gz";
std::remove(output_path.c_str());
std::cout << "- removed old output " << output_path << "\n";
std::cout << "- removed old output " << output_path << std::endl;
// Generate Python script
const std::string pyscript_filename =
......@@ -50,7 +50,7 @@ std::unique_ptr<OutputData<double>> domainData(const std::string& test_name,
+ std::string("set NOPLOT=TRUE") + " & \""
+ BABuild::pythonExecutable() + "\" -B " + py_command;
#endif
std::cout << "- system call: " << sys_command << std::endl; // note: endl = \n + flush
std::cout << "- system call: " << sys_command << std::endl; // flushing is important here
int ret = std::system(sys_command.c_str());
if (ret != 0) {
std::stringstream msg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment