From e0ee9063f356cf566808fc59f603551651847315 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Mon, 8 Apr 2019 14:34:17 +0200 Subject: erts: Fix z_SUITE to always look for cerl in ERL_TOP If it cannot be found in the daily build dir, we try ERL_TOP incase it is there. --- erts/test/z_SUITE.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'erts/test/z_SUITE.erl') diff --git a/erts/test/z_SUITE.erl b/erts/test/z_SUITE.erl index 6a34299dd2..536212af2e 100644 --- a/erts/test/z_SUITE.erl +++ b/erts/test/z_SUITE.erl @@ -88,10 +88,10 @@ find_cerl(DBTop) -> [Cerl | _ ] -> case filelib:is_regular(Cerl) of true -> Cerl; - _ -> false + _ -> find_cerl(false) end; _ -> - false + find_cerl(false) end. is_dir(false) -> -- cgit v1.2.3