Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
erlang
0815-ct-Remove-windows-temp-dir-workarounds.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0815-ct-Remove-windows-temp-dir-workarounds.patch of Package erlang
From fc457fa0a9a5fd1c5ba66c3a53ff84ce605f8739 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson <dgud@erlang.org> Date: Thu, 27 Jun 2019 12:17:38 +0200 Subject: [PATCH 4/4] ct: Remove windows temp-dir workarounds Was introduced to avoid long paths when erlang couldn't handle them on windows --- lib/common_test/test/ct_test_support.erl | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/lib/common_test/test/ct_test_support.erl b/lib/common_test/test/ct_test_support.erl index 388d5d46c6..1d50f4f97f 100644 --- a/lib/common_test/test/ct_test_support.erl +++ b/lib/common_test/test/ct_test_support.erl @@ -219,17 +219,8 @@ get_opts(Config) -> end, LogDir = case os:getenv("CT_USE_TMP_DIR") of - false -> - case os:type() of - {win32,_} -> - if TempDir == undefined -> PrivDir; - true -> TempDir - end; - _ -> - PrivDir - end; - _ -> - TempDir + false -> PrivDir; + _ -> TempDir end, %% Copy test variables to app environment on new node -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor