diff options
author | Tobias Schlager <[email protected]> | 2014-02-21 09:15:41 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-02-24 11:02:35 +0100 |
commit | 4fe82b421fda09896392f239329d1d04cf4cab39 (patch) | |
tree | 52cb9f01096b093663aa473e072e970cfb5c42b2 /lib/hipe/test/hipe_SUITE.erl | |
parent | d5b4bd041f625324862ff51f995cd224fb7a9831 (diff) | |
download | otp-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/hipe_SUITE.erl')
-rw-r--r-- | lib/hipe/test/hipe_SUITE.erl | 5 |
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. |