aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_run.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2015-11-23 16:56:47 +0100
committerPeter Andersson <[email protected]>2015-11-23 16:56:47 +0100
commit49f56f9dc37499b6ebb365d2304eee940d57801d (patch)
tree9dc829c8fee9e56e47ea0bf89a5fafb14b804a63 /lib/common_test/src/ct_run.erl
parentd4a3296ba3117315343057715ee428490e992ef0 (diff)
downloadotp-49f56f9dc37499b6ebb365d2304eee940d57801d.tar.gz
otp-49f56f9dc37499b6ebb365d2304eee940d57801d.tar.bz2
otp-49f56f9dc37499b6ebb365d2304eee940d57801d.zip
Make abort_if_missing_suites option work in all io modes
Diffstat (limited to 'lib/common_test/src/ct_run.erl')
-rw-r--r--lib/common_test/src/ct_run.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_run.erl b/lib/common_test/src/ct_run.erl
index ae91601f67..97994d8d6f 100644
--- a/lib/common_test/src/ct_run.erl
+++ b/lib/common_test/src/ct_run.erl
@@ -2071,9 +2071,11 @@ final_skip([Skip|Skips], Final) ->
final_skip([], Final) ->
lists:reverse(Final).
+continue(_MakeErrors, true) ->
+ false;
continue([], _) ->
true;
-continue(_MakeErrors, AbortIfMissingSuites) ->
+continue(_MakeErrors, _AbortIfMissingSuites) ->
io:nl(),
OldGl = group_leader(),
case set_group_leader_same_as_shell() of
@@ -2101,7 +2103,7 @@ continue(_MakeErrors, AbortIfMissingSuites) ->
true
end;
false -> % no shell process to use
- not AbortIfMissingSuites
+ true
end.
set_group_leader_same_as_shell() ->