aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test/z_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-04-08 14:34:17 +0200
committerLukas Larsson <[email protected]>2019-04-10 09:43:54 +0200
commite0ee9063f356cf566808fc59f603551651847315 (patch)
tree5366f5f5fc791841de9bbc14848866d293c70257 /erts/test/z_SUITE.erl
parent5f151e730217d1d06d3bdd3a4d52f1aec25a6676 (diff)
downloadotp-e0ee9063f356cf566808fc59f603551651847315.tar.gz
otp-e0ee9063f356cf566808fc59f603551651847315.tar.bz2
otp-e0ee9063f356cf566808fc59f603551651847315.zip
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.
Diffstat (limited to 'erts/test/z_SUITE.erl')
-rw-r--r--erts/test/z_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
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) ->