diff --git a/Tests/Functional/Python/Std/Check.cpp b/Tests/Functional/Python/Std/Check.cpp index 0fd28cb7d1a3e33569473dd431eaba6ce8ed1944..bfc97073bb1e6ed5eb01609f755d2713659d517d 100644 --- a/Tests/Functional/Python/Std/Check.cpp +++ b/Tests/Functional/Python/Std/Check.cpp @@ -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;