misc: 'sim{out/err}' -> 'sim{out/err}.txt'

By default, the --stderr-file and --stdout-file arguments were
directing the simulator output to files named "simerr" and
"simout" respectively if an output redirect was requested.

A small annoyance is these files lack an extension meaning programs
refuse to open them, or to do so without some additional effort. On
many systems they are assumed to scripts.

This patch adds the .txt extension to both, thus clearly indicating
to other programs these are text files and can be opened to be read
as such.

Change-Id: Iff5af4a9e6966b4467d005a029dbf401099fbd35
This commit is contained in:
Bobby R. Bruce
2023-08-31 10:26:45 -07:00
parent 6eb7c10eb9
commit 391f62b213
14 changed files with 25 additions and 17 deletions

View File

@@ -318,8 +318,8 @@ def define_constants(constants):
constants.supported_hosts = constants.supported_tags["host"]
constants.tempdir_fixture_name = "tempdir"
constants.gem5_simulation_stderr = "simerr"
constants.gem5_simulation_stdout = "simout"
constants.gem5_simulation_stderr = "simerr.txt"
constants.gem5_simulation_stdout = "simout.txt"
constants.gem5_simulation_stats = "stats.txt"
constants.gem5_simulation_config_ini = "config.ini"
constants.gem5_simulation_config_json = "config.json"