1# -*- mode:python -*- 2 3# Copyright (c) 2004-2006 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 52 unchanged lines hidden (view full) --- 61 # Exclude m5stats.txt since we will use diff-out on that. 62 Execute(env.subst('diff -ubr ${SOURCES[0].dir} ${SOURCES[1].dir} ' + 63 '-I "^command line:" ' + # for stdout file 64 '-I "^M5 compiled " ' + # for stderr file 65 '-I "^M5 started " ' + # for stderr file 66 '-I "^M5 executing on " ' + # for stderr file 67 '-I "^Simulation complete at" ' + # for stderr file 68 '-I "^Listening for" ' + # for stderr file |
69 '-I "listening for remote gdb" ' + # for stderr file |
70 '--exclude=m5stats.txt --exclude=SCCS ' + 71 '--exclude=${TARGETS[0].file} ' + 72 '> ${TARGETS[0]}', target=target, source=source), None) 73 print "===== Output differences =====" 74 print contents(target[0]) 75 # Run diff-out on m5stats.txt file 76 status = Execute(env.subst('$DIFFOUT $SOURCES > ${TARGETS[1]}', 77 target=target, source=source), --- 140 unchanged lines hidden --- |