diff options
-rw-r--r-- | lib/hipe/test/hipe_testsuite_driver.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/hipe/test/hipe_testsuite_driver.erl b/lib/hipe/test/hipe_testsuite_driver.erl index 72605f9c2f..7e904fcb88 100644 --- a/lib/hipe/test/hipe_testsuite_driver.erl +++ b/lib/hipe/test/hipe_testsuite_driver.erl @@ -121,7 +121,10 @@ write_header(#suite{suitename = SuiteName, outputfile = OutputFile, "init_per_suite() ->\n" " [].\n\n" "init_per_suite(Config) ->\n" - " Config.\n\n" + " case erlang:system_info(hipe_architecture) of\n" + " undefined -> {skip, \"HiPE not available or enabled\"};\n" + " _ -> Config\n" + " end.\n\n" "end_per_suite(_Config) ->\n" " ok.\n\n" "all() ->\n" |