diff options
author | Sverker Eriksson <[email protected]> | 2014-04-29 15:06:54 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-04-29 15:06:54 +0200 |
commit | 5ffec6a36863640642501444feb6da24e4fb9986 (patch) | |
tree | f94f3a52fed3e5ca5b28030614eb10dc1025ead6 /erts | |
parent | 218f72fda16e2b87f2babe92f57922afa21450de (diff) | |
parent | aca0b6182b039333b4c963938878d9eecc85e5a1 (diff) | |
download | otp-5ffec6a36863640642501444feb6da24e4fb9986.tar.gz otp-5ffec6a36863640642501444feb6da24e4fb9986.tar.bz2 otp-5ffec6a36863640642501444feb6da24e4fb9986.zip |
Merge branch 'maint'
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/test/match_spec_SUITE.erl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/erts/emulator/test/match_spec_SUITE.erl b/erts/emulator/test/match_spec_SUITE.erl index 8038888796..fdce157abc 100644 --- a/erts/emulator/test/match_spec_SUITE.erl +++ b/erts/emulator/test/match_spec_SUITE.erl @@ -1009,12 +1009,14 @@ loop_runner(Collector, Fun, Laps) -> end, loop_runner_cont(Collector, Fun, 0, Laps). -loop_runner_cont(_Collector, _Fun, Laps, Laps) -> +loop_runner_cont(Collector, _Fun, Laps, Laps) -> receive - {done, Collector} -> - io:format("loop_runner ~p exit after ~p laps\n", [self(), Laps]), - Collector ! {gone, self()} - end; + {done, Collector} -> ok; + {abort, Collector} -> ok + end, + io:format("loop_runner ~p exit after ~p laps\n", [self(), Laps]), + Collector ! {gone, self()}; + loop_runner_cont(Collector, Fun, N, Laps) -> Fun(), receive |