diff options
author | Ben Elliston <bje@gnu.org> | 2011-03-14 08:02:04 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2011-03-14 08:02:04 +1100 |
commit | 6d2e2d3791bcea70131a6cf64a0a5223333a7b8e (patch) | |
tree | 449851a81e78830b96468ab05297343f6a97305b /runtest.exp | |
parent | 67e77e4589db843d7cc9683bb7ddbf7c6ca3b1dd (diff) | |
download | dejagnu-6d2e2d3791bcea70131a6cf64a0a5223333a7b8e.zip dejagnu-6d2e2d3791bcea70131a6cf64a0a5223333a7b8e.tar.gz dejagnu-6d2e2d3791bcea70131a6cf64a0a5223333a7b8e.tar.bz2 |
* 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, 1 insertions, 4 deletions
diff --git a/runtest.exp b/runtest.exp index 2140020..641bfe8 100644 --- a/runtest.exp +++ b/runtest.exp @@ -1435,16 +1435,13 @@ 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 ..." - set prms_id 0 - set bug_id 0 + reset_vars set test_result "" if {[file exists $test_file_name]} { |