aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/test
diff options
context:
space:
mode:
authorTobias Schlager <[email protected]>2014-02-21 09:15:41 +0100
committerSiri Hansen <[email protected]>2014-02-24 11:02:35 +0100
commit4fe82b421fda09896392f239329d1d04cf4cab39 (patch)
tree52cb9f01096b093663aa473e072e970cfb5c42b2 /lib/hipe/test
parentd5b4bd041f625324862ff51f995cd224fb7a9831 (diff)
downloadotp-4fe82b421fda09896392f239329d1d04cf4cab39.tar.gz
otp-4fe82b421fda09896392f239329d1d04cf4cab39.tar.bz2
otp-4fe82b421fda09896392f239329d1d04cf4cab39.zip
Disable hipe_SUITE when environment doesn't support it
Diffstat (limited to 'lib/hipe/test')
-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.