diff options
author | Sverker Eriksson <[email protected]> | 2017-12-21 13:27:35 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-12-21 13:27:35 +0100 |
commit | be5141bd723f7e7a39cd3015b39a4308781a8d1b (patch) | |
tree | eb21fac7abfff9fad5c1de6dd2d975768daf75c4 /erts/emulator/test/driver_SUITE.erl | |
parent | 324265a52cf196d984af65563b1a0662f0164a30 (diff) | |
parent | fb60cf1408edc6ee03c7e391419367d047721809 (diff) | |
download | otp-be5141bd723f7e7a39cd3015b39a4308781a8d1b.tar.gz otp-be5141bd723f7e7a39cd3015b39a4308781a8d1b.tar.bz2 otp-be5141bd723f7e7a39cd3015b39a4308781a8d1b.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/test/driver_SUITE.erl')
-rw-r--r-- | erts/emulator/test/driver_SUITE.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/emulator/test/driver_SUITE.erl b/erts/emulator/test/driver_SUITE.erl index 6446d5f6d2..e133349216 100644 --- a/erts/emulator/test/driver_SUITE.erl +++ b/erts/emulator/test/driver_SUITE.erl @@ -1768,7 +1768,10 @@ smp_select0(Config) -> smp_select_loop(_, 0) -> ok; smp_select_loop(Port, N) -> - "ok" = erlang:port_control(Port, ?CHKIO_SMP_SELECT, []), + case erlang:port_control(Port, ?CHKIO_SMP_SELECT, []) of + "yield" -> erlang:yield(); + "ok" -> ok + end, receive stop -> io:format("Worker ~p stopped with ~p laps left\n",[self(), N]), |