summaryrefslogtreecommitdiff
path: root/Tests/CMakeLib/testUVProcessChain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeLib/testUVProcessChain.cxx')
-rw-r--r--Tests/CMakeLib/testUVProcessChain.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CMakeLib/testUVProcessChain.cxx b/Tests/CMakeLib/testUVProcessChain.cxx
index 61a77cf7b..a003205c2 100644
--- a/Tests/CMakeLib/testUVProcessChain.cxx
+++ b/Tests/CMakeLib/testUVProcessChain.cxx
@@ -181,6 +181,10 @@ bool checkOutput(std::istream& outputStream, std::istream& errorStream)
}
std::string error = getInput(errorStream);
+ auto qemu_error_pos = error.find("qemu:");
+ if (qemu_error_pos != std::string::npos) {
+ error.resize(qemu_error_pos);
+ }
if (error.length() != 3 || error.find('1') == std::string::npos ||
error.find('2') == std::string::npos ||
error.find('3') == std::string::npos) {