diff options
author | Peter Andersson <[email protected]> | 2015-11-23 16:56:47 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2015-11-23 16:56:47 +0100 |
commit | 49f56f9dc37499b6ebb365d2304eee940d57801d (patch) | |
tree | 9dc829c8fee9e56e47ea0bf89a5fafb14b804a63 /lib/common_test | |
parent | d4a3296ba3117315343057715ee428490e992ef0 (diff) | |
download | otp-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')
-rw-r--r-- | lib/common_test/src/ct_run.erl | 6 |
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() -> |