aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-11-20 10:11:14 +0100
committerBjörn Gustavsson <[email protected]>2017-11-20 10:11:14 +0100
commit7118c06ee07296337d4348289abc686617e577e9 (patch)
tree7743923a45f72f35bece6de3611d617a749d42cf /lib/debugger
parent7de66cbf895db8650e2b3253d910869c67989b35 (diff)
parent1107083935fbdb8f8a7ece9549d8203652c4fec6 (diff)
downloadotp-7118c06ee07296337d4348289abc686617e577e9.tar.gz
otp-7118c06ee07296337d4348289abc686617e577e9.tar.bz2
otp-7118c06ee07296337d4348289abc686617e577e9.zip
Merge branch 'bjorn/make_port/OTP-14704'
* bjorn/make_port/OTP-14704: Avoid using the efile driver in test suites
Diffstat (limited to 'lib/debugger')
-rw-r--r--lib/debugger/test/guard_SUITE.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/debugger/test/guard_SUITE.erl b/lib/debugger/test/guard_SUITE.erl
index f7874f79df..e781ea932f 100644
--- a/lib/debugger/test/guard_SUITE.erl
+++ b/lib/debugger/test/guard_SUITE.erl
@@ -390,7 +390,7 @@ all_types() ->
{atom, xxxx},
{ref, make_ref()},
{pid, self()},
- {port, open_port({spawn, efile}, [])},
+ {port, make_port()},
{function, fun(X) -> X+1, "" end},
{binary, list_to_binary([])}].
@@ -435,6 +435,9 @@ type_test(binary, X) when binary(X) ->
type_test(function, X) when function(X) ->
function.
+make_port() ->
+ hd(erlang:ports()).
+
const_guard(Config) when is_list(Config) ->
if
(0 == 0) and ((0 == 0) or (0 == 0)) ->