diff options
author | Björn Gustavsson <[email protected]> | 2016-02-25 15:28:25 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-02-25 15:53:34 +0100 |
commit | 117daae14c7779a35659589a842af331fe773d6a (patch) | |
tree | 3bfad44a47bde966e7dbf3f49d739c049e2b01f9 /lib/compiler/test/test_lib.erl | |
parent | ca93ccf62e91c55345eb1e67e6ea107ba72e5a1f (diff) | |
download | otp-117daae14c7779a35659589a842af331fe773d6a.tar.gz otp-117daae14c7779a35659589a842af331fe773d6a.tar.bz2 otp-117daae14c7779a35659589a842af331fe773d6a.zip |
Eliminate use of test_server:fail/0,1
Diffstat (limited to 'lib/compiler/test/test_lib.erl')
-rw-r--r-- | lib/compiler/test/test_lib.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compiler/test/test_lib.erl b/lib/compiler/test/test_lib.erl index 5768b67a56..beb03859c7 100644 --- a/lib/compiler/test/test_lib.erl +++ b/lib/compiler/test/test_lib.erl @@ -118,7 +118,8 @@ p_run_loop(_, [], _, [], Errors, Ws) -> 1 -> {comment,"1 warning"}; N -> {comment,integer_to_list(N)++" warnings"} end; - N -> ?t:fail({N,errors}) + N -> + ct:fail({N,errors}) end; p_run_loop(Test, [H|T], N, Refs, Errors, Ws) when length(Refs) < N -> {_,Ref} = erlang:spawn_monitor(fun() -> exit(Test(H)) end), |