aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/util/test_env.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/spec/util/test_env.lua b/spec/util/test_env.lua
index be75b4ec..21fa6e9b 100644
--- a/spec/util/test_env.lua
+++ b/spec/util/test_env.lua
@@ -720,7 +720,13 @@ local function create_testing_paths(suffix)
720 paths.fixtures_repo_dir = dir_path(base_dir, "spec", "fixtures", "a_repo") 720 paths.fixtures_repo_dir = dir_path(base_dir, "spec", "fixtures", "a_repo")
721 paths.gpg_dir = dir_path(base_dir, "spec", "fixtures", "gpg") 721 paths.gpg_dir = dir_path(base_dir, "spec", "fixtures", "gpg")
722 722
723 local testrun_dir = dir_path(base_dir, "testrun") 723 local testrun_dir
724 if test_env.TEST_TARGET_OS == "windows" then
725 testrun_dir = dir_path(base_dir, "test run")
726 else
727 testrun_dir = dir_path(base_dir, "testrun")
728 end
729
724 paths.testrun_dir = testrun_dir 730 paths.testrun_dir = testrun_dir
725 paths.testing_lrprefix = dir_path(testrun_dir, "testing_lrprefix-" .. suffix) 731 paths.testing_lrprefix = dir_path(testrun_dir, "testing_lrprefix-" .. suffix)
726 paths.testing_tree = dir_path(testrun_dir, "testing-" .. suffix) 732 paths.testing_tree = dir_path(testrun_dir, "testing-" .. suffix)