diff options
author | Ben Elliston <bje@gnu.org> | 2015-03-30 10:04:48 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2015-03-30 10:05:23 +1100 |
commit | 4107079062380801845bb090bc98b22c54bfaefd (patch) | |
tree | 9f07015308f1d60abb984052e506ec3e69b60976 /runtest.exp | |
parent | 5256bd82343000c76bc0e48139003f90b6184347 (diff) | |
download | dejagnu-4107079062380801845bb090bc98b22c54bfaefd.zip dejagnu-4107079062380801845bb090bc98b22c54bfaefd.tar.gz dejagnu-4107079062380801845bb090bc98b22c54bfaefd.tar.bz2 |
Revert the following change which causes breakage reported here:
https://lists.gnu.org/archive/html/dejagnu/2015-03/msg00003.html
2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* runtest.exp (runtest): Call reset_vars at initialisation so that
perror does not affect test results in other test scripts.
Diffstat (limited to 'runtest.exp')
-rw-r--r-- | runtest.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtest.exp b/runtest.exp index 8e7c262..ad4db19 100644 --- a/runtest.exp +++ b/runtest.exp @@ -1441,13 +1441,16 @@ proc load_base_board_description { board_name } { # proc runtest { test_file_name } { + global prms_id + global bug_id global test_result global errcnt global errorInfo global tool clone_output "Running $test_file_name ..." - reset_vars + set prms_id 0 + set bug_id 0 set test_result "" if {[file exists $test_file_name]} { |