diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-12-04 19:05:09 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-12-04 19:05:09 -0500 |
commit | 34a1f9e14e0e0afe42ed21dff8e7ed96462f7267 (patch) | |
tree | d9d0128ef8f63245f9609c9a0d32784151bec0cd /tests | |
parent | 66a9697c4906f428cb67492dae691ab557092aee (diff) | |
download | gem5-34a1f9e14e0e0afe42ed21dff8e7ed96462f7267.tar.xz |
Only update stderr, stdout, m5stats.txt, and config.* on update_ref,
since we don't know which of the other files are outputs and which
are inputs.
--HG--
extra : convert_revision : b038bd15930721ab9fceb0a18ab5c895aacb5309
Diffstat (limited to 'tests')
-rw-r--r-- | tests/SConscript | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/SConscript b/tests/SConscript index 8560363f9..8c9029be6 100644 --- a/tests/SConscript +++ b/tests/SConscript @@ -114,11 +114,7 @@ def update_test(target, source, env): src_dir = str(source[1].get_dir()) dest_files = os.listdir(dest_dir) src_files = os.listdir(src_dir) - # Exclude status & diff outputs - for f in ('outdiff', 'statsdiff', 'status'): - if f in src_files: - src_files.remove(f) - for f in src_files: + for f in ('stdout', 'stderr', 'm5stats.txt', 'config.ini', 'config.out'): if f in dest_files: print " Replacing file", f dest_files.remove(f) |