python: Flush the simulation stdout/stderr buffers
[gem5.git] / tests / gem5 / verifier.py
index ba4bd4ff543269fc3e394a61f78df2462ecbd1d5..60d44f398474dc9d8a9123a1d6cdf4b8bedb438a 100644 (file)
@@ -115,6 +115,9 @@ class DerivedGoldStandard(MatchGoldStandard):
 class MatchStdout(DerivedGoldStandard):
     _file = constants.gem5_simulation_stdout
     _default_ignore_regex = [
+            re.compile('^\s+$'), # Remove blank lines.
+            re.compile('^gem5 Simulator System'),
+            re.compile('^gem5 is copyrighted software'),
             re.compile('^Redirecting (stdout|stderr) to'),
             re.compile('^gem5 version '),
             re.compile('^gem5 compiled '),