aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/test/sanity_SUITE_data
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2014-03-23 13:21:26 +0100
committerKostis Sagonas <[email protected]>2015-12-16 22:08:33 +0100
commitf3b62ad3fb0b989d58e9018cbe3b62d4d7300341 (patch)
treed1a3bc91df5f974cf5765458d1a95623e90a1539 /lib/hipe/test/sanity_SUITE_data
parent6a645e07a02f9adda9b9534214e699ad8f30a15f (diff)
downloadotp-f3b62ad3fb0b989d58e9018cbe3b62d4d7300341.tar.gz
otp-f3b62ad3fb0b989d58e9018cbe3b62d4d7300341.tar.bz2
otp-f3b62ad3fb0b989d58e9018cbe3b62d4d7300341.zip
Add function to prevent running tests in the LLVM backend
Diffstat (limited to 'lib/hipe/test/sanity_SUITE_data')
-rw-r--r--lib/hipe/test/sanity_SUITE_data/sanity_comp_timeout.erl4
-rw-r--r--lib/hipe/test/sanity_SUITE_data/sanity_no_zombies.erl4
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/hipe/test/sanity_SUITE_data/sanity_comp_timeout.erl b/lib/hipe/test/sanity_SUITE_data/sanity_comp_timeout.erl
index bee38fd87a..9f0830574f 100644
--- a/lib/hipe/test/sanity_SUITE_data/sanity_comp_timeout.erl
+++ b/lib/hipe/test/sanity_SUITE_data/sanity_comp_timeout.erl
@@ -10,7 +10,7 @@
-module(sanity_comp_timeout).
--export([test/0]).
+-export([test/0, to_llvm/0]).
test() ->
ok = write_dummy_mod(),
@@ -20,6 +20,8 @@ test() ->
Self = self(), % make sure the parent process stays the same
ok.
+to_llvm() -> false.
+
write_dummy_mod() ->
Prog = <<"-module(dummy_mod).\n-export([test/0]).\ntest() -> ok.\n">>,
ok = file:write_file("dummy_mod.erl", Prog).
diff --git a/lib/hipe/test/sanity_SUITE_data/sanity_no_zombies.erl b/lib/hipe/test/sanity_SUITE_data/sanity_no_zombies.erl
index f9f9951de2..87e746042e 100644
--- a/lib/hipe/test/sanity_SUITE_data/sanity_no_zombies.erl
+++ b/lib/hipe/test/sanity_SUITE_data/sanity_no_zombies.erl
@@ -10,10 +10,12 @@
-module(sanity_no_zombies).
--export([test/0]).
+-export([test/0, to_llvm/0]).
test() ->
L = length(processes()),
hipe:c(?MODULE, [concurrent_comp]), % force concurrent compilation
L = length(processes()),
ok.
+
+to_llvm() -> false.