From: Steve Reinhardt Date: Tue, 5 Dec 2006 00:05:09 +0000 (-0500) Subject: Only update stderr, stdout, m5stats.txt, and config.* on update_ref, X-Git-Tag: m5_2.0_beta2~2^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34a1f9e14e0e0afe42ed21dff8e7ed96462f7267;p=gem5.git 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 --- 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)