aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/test/hipe_testsuite_driver.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-10-25 19:10:11 +0200
committerGitHub <[email protected]>2018-10-25 19:10:11 +0200
commitabfb3940842523eefec77b9e44979a328c5350e7 (patch)
tree4ae4f78bcd53fe819d76e722514276d88aabc208 /lib/hipe/test/hipe_testsuite_driver.erl
parent56521d60b598443e79a7ab0859f6134bf8f46c29 (diff)
parenta515d78c3c30ac694399a823e8d680f8e8ea8f44 (diff)
downloadotp-abfb3940842523eefec77b9e44979a328c5350e7.tar.gz
otp-abfb3940842523eefec77b9e44979a328c5350e7.tar.bz2
otp-abfb3940842523eefec77b9e44979a328c5350e7.zip
Merge PR-1986 from kostis/hipe-ErLLVM-check OTP-15385
HiPE: Fix check for when ErLLVM is available
Diffstat (limited to 'lib/hipe/test/hipe_testsuite_driver.erl')
-rw-r--r--lib/hipe/test/hipe_testsuite_driver.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/test/hipe_testsuite_driver.erl b/lib/hipe/test/hipe_testsuite_driver.erl
index 8813af5dfc..c506dd5e1d 100644
--- a/lib/hipe/test/hipe_testsuite_driver.erl
+++ b/lib/hipe/test/hipe_testsuite_driver.erl
@@ -170,7 +170,7 @@ run(TestCase, Dir, _OutDir) ->
{ok, TestCase} = hipe:c(TestCase, [o0|HiPEOpts]),
ok = TestCase:test(),
ToLLVM = try TestCase:to_llvm() catch error:undef -> true end,
- case ToLLVM andalso hipe:llvm_support_available() of
+ case ToLLVM andalso hipe:erllvm_is_supported() of
true ->
{ok, TestCase} = hipe:c(TestCase, [to_llvm|HiPEOpts]),
ok = TestCase:test();