misc: 'sim{out/err}' -> 'sim{out/err}.txt' (#250)

By default, the `--stderr-file` and `--stdout-file` arguments were
directing the simulator to output 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 don't do so withou 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 and read as such.
This commit is contained in:
Bobby R. Bruce
2023-09-27 17:36:03 -07:00
committed by GitHub
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"