util,tests: Added .txt file extension to txt files
authorBobby R. Bruce <bbruce@ucdavis.edu>
Tue, 4 Aug 2020 19:58:56 +0000 (12:58 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Mon, 24 Aug 2020 22:52:06 +0000 (22:52 +0000)
This is a small improvement. In our Jenkins, https://jenkins.gem5.org,
we archive the `compile-test-out` directory. Opening these `*.stderr`
and `*.stdout` files through the Jenkins interface was problematic. The
`.txt` extension makes these files easier to open.

Change-Id: I4026efec2118179eaed775c7560510cd16f349a6
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32154
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
util/compiler-tests.sh

index cd47bd9368a51cdcde2d76ef55478123809e193c..ccb243706f9999c319000677cf3b8ff0402a5f8e 100755 (executable)
@@ -102,8 +102,8 @@ for compiler in ${images[@]}; do
         for build_opt in ${opts[@]}; do
             build="${builds[$build_index]}"
             build_out="build/$build/gem5$build_opt"
-            build_stdout="${test_dir}/${compiler}/${build}${build_opt}.stdout"
-            build_stderr="${test_dir}/${compiler}/${build}${build_opt}.stderr"
+            build_stdout="${test_dir}/${compiler}/${build}${build_opt}.stdout.txt"
+            build_stderr="${test_dir}/${compiler}/${build}${build_opt}.stderr.txt"
 
             # Clean the build
             rm -rf "${build_dir}"