summaryrefslogtreecommitdiffstats
path: root/windows/hdf5bt.BAT
diff options
context:
space:
mode:
Diffstat (limited to 'windows/hdf5bt.BAT')
-rwxr-xr-xwindows/hdf5bt.BAT5
1 files changed, 4 insertions, 1 deletions
diff --git a/windows/hdf5bt.BAT b/windows/hdf5bt.BAT
index f91c7cf..4d35cdf 100755
--- a/windows/hdf5bt.BAT
+++ b/windows/hdf5bt.BAT
@@ -140,8 +140,11 @@ goto :eof
:: Cleanup our environment
:cleanup
-set bt_results=
set build_results=
+
+:: Don't unset bt_results if it is being used by autotest_hdf5.bat
+if "x%hdf5_auto_results%"=="x" set bt_results=
+
popd
if defined hdf5_debug pause