tracediff (5751:54cb03a1a577) tracediff (8445:1b4b9c05ad2b)
1#! /usr/bin/env perl
2# Copyright (c) 2003-2007 The Regents of The University of Michigan
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 110 unchanged lines hidden (view full) ---

119# First two args are the two simulator binaries to compare
120$sim1 = shift @cmd1;
121$sim2 = shift @cmd2;
122
123# Everything else is a simulator arg.
124$args1 = join(' ', @cmd1);
125$args2 = join(' ', @cmd2);
126
1#! /usr/bin/env perl
2# Copyright (c) 2003-2007 The Regents of The University of Michigan
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 110 unchanged lines hidden (view full) ---

119# First two args are the two simulator binaries to compare
120$sim1 = shift @cmd1;
121$sim2 = shift @cmd2;
122
123# Everything else is a simulator arg.
124$args1 = join(' ', @cmd1);
125$args2 = join(' ', @cmd2);
126
127# Common mistake: if you don't set any traceflags this often isn't
127# Common mistake: if you don't set any debugflags this often isn't
128# doing what you want.
128# doing what you want.
129if ($args1 !~ /--trace-flags/) {
129if ($args1 !~ /--debug-flags/) {
130 print "****\n";
130 print "****\n";
131 print "**** WARNING: no trace flags set... you may not be diffing much!\n";
131 print "**** WARNING: no debug flags set... you may not be diffing much!\n";
132 print "****\n";
133}
134
135# Run individual invocations in separate dirs so output and intermediate
136# files (particularly config.py and config.ini) don't conflict.
137$dir1 = "tracediff-$$-1";
138$dir2 = "tracediff-$$-2";
139mkdir($dir1) or die "Can't create dir $dir1\n";

--- 14 unchanged lines hidden ---
132 print "****\n";
133}
134
135# Run individual invocations in separate dirs so output and intermediate
136# files (particularly config.py and config.ini) don't conflict.
137$dir1 = "tracediff-$$-1";
138$dir2 = "tracediff-$$-2";
139mkdir($dir1) or die "Can't create dir $dir1\n";

--- 14 unchanged lines hidden ---