diff options
author | Sverker Eriksson <[email protected]> | 2012-01-11 19:07:20 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-01-11 19:07:20 +0100 |
commit | af92f5b223cc2c55df388ba731f017692e238a41 (patch) | |
tree | 223ffd8a8cae39ca8e52389872ceb858937b1645 /erts/emulator/test/nif_SUITE.erl | |
parent | cd25c1e757568e23e6b833e3052de2bf942e9fa1 (diff) | |
parent | b8b3de6260240c7eb0d7bebec3eeb833bb4ff0d7 (diff) | |
download | otp-af92f5b223cc2c55df388ba731f017692e238a41.tar.gz otp-af92f5b223cc2c55df388ba731f017692e238a41.tar.bz2 otp-af92f5b223cc2c55df388ba731f017692e238a41.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/test/nif_SUITE.erl')
-rw-r--r-- | erts/emulator/test/nif_SUITE.erl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/erts/emulator/test/nif_SUITE.erl b/erts/emulator/test/nif_SUITE.erl index 370363bf9e..6bd7361612 100644 --- a/erts/emulator/test/nif_SUITE.erl +++ b/erts/emulator/test/nif_SUITE.erl @@ -859,7 +859,13 @@ resource_holder(Pid,Reply,List) -> threading(doc) -> ["Test the threading API functions (reuse tests from driver API)"]; -threading(Config) when is_list(Config) -> +threading(Config) when is_list(Config) -> + case erlang:system_info(threads) of + true -> threading_do(Config); + false -> {skipped,"No thread support"} + end. + +threading_do(Config) -> ?line Data = ?config(data_dir, Config), ?line File = filename:join(Data, "tester"), ?line {ok,tester,ModBin} = compile:file(File, [binary,return_errors]), |