aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/hipe/test/hipe_SUITE.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/hipe/test/hipe_SUITE.erl b/lib/hipe/test/hipe_SUITE.erl
index 8eb3967993..554bc972f6 100644
--- a/lib/hipe/test/hipe_SUITE.erl
+++ b/lib/hipe/test/hipe_SUITE.erl
@@ -28,7 +28,10 @@ groups() ->
[].
init_per_suite(Config) ->
- Config.
+ case erlang:system_info(hipe_architecture) of
+ undefined -> {skip, "HiPE not available or enabled"};
+ _ -> Config
+ end.
end_per_suite(_Config) ->
ok.