mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: avoid flushing issue with the test suite
Linux only as I don't know if windows suffers of the same issue.
This commit is contained in:
parent
75ec16fd72
commit
f5d71352ca
|
@ -229,6 +229,12 @@ public:
|
||||||
{
|
{
|
||||||
ConsoleColorScope cs(conColor);
|
ConsoleColorScope cs(conColor);
|
||||||
Console.WriteRaw( msg );
|
Console.WriteRaw( msg );
|
||||||
|
#ifdef __linux__
|
||||||
|
// Buffered output isn't compatible with the testsuite. The end of test
|
||||||
|
// doesn't always get flushed. Let's just flush all the output if EE/IOP
|
||||||
|
// print anything.
|
||||||
|
fflush(NULL);
|
||||||
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue