diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-03-23 19:05:48 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-03-23 19:05:48 +0100 |
commit | 9615753e42d55b3bad042791a1b36b0ef7f0090a (patch) | |
tree | 1efc40b574871422445e644dc0e1bf9324c80961 /lib/erl_interface/test/all_SUITE_data | |
parent | 8f5e589c7adab9450513852e8b71643d6c11e711 (diff) | |
parent | dc42c5d1587a33ae2cc772d51fb6d900a41ec153 (diff) | |
download | otp-9615753e42d55b3bad042791a1b36b0ef7f0090a.tar.gz otp-9615753e42d55b3bad042791a1b36b0ef7f0090a.tar.bz2 otp-9615753e42d55b3bad042791a1b36b0ef7f0090a.zip |
Merge branch 'egil/erl_interface/modernize-tests'
* egil/erl_interface/modernize-tests:
Eliminate use of test_server:fail/0,1
Cleanup test code
Remove unncecessary exports
Eliminate suite and doc clauses
Replace ?config() macro with proplists:get_value()
Modernize timetraps
Eliminate ?line macros
Diffstat (limited to 'lib/erl_interface/test/all_SUITE_data')
-rw-r--r-- | lib/erl_interface/test/all_SUITE_data/ei_runner.c | 8 | ||||
-rw-r--r-- | lib/erl_interface/test/all_SUITE_data/runner.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/erl_interface/test/all_SUITE_data/ei_runner.c b/lib/erl_interface/test/all_SUITE_data/ei_runner.c index 3a0de22df4..2b0d6c856a 100644 --- a/lib/erl_interface/test/all_SUITE_data/ei_runner.c +++ b/lib/erl_interface/test/all_SUITE_data/ei_runner.c @@ -198,8 +198,8 @@ void free_packet(char* packet) * ----- ---------------------------- * [$b|Bytes] {bytes, Bytes} * [$e] eot - * [$f] test_server:fail() - * [$f|Reason] test_server:fail(Reason) + * [$f] ct:fail() + * [$f|Reason] ct:fail(Reason) * [$t|EncodedTerm] {term, Term} * [$N] 'NULL' * [$m|Message] io:format("~s", [Message]) (otherwise ignored) @@ -211,7 +211,7 @@ void free_packet(char* packet) * you implement a test case entirely in C code. * * If the ok argument is zero, a [$f] reply will be sent to the - * Erlang side (causing test_server:fail() to be called); otherwise, + * Erlang side (causing ct:fail() to be called); otherwise, * the atom 'eot' will be sent to Erlang. * * If you need to provide more details on a failure, use the fail() function. @@ -251,7 +251,7 @@ do_report(file, line, ok) /* - * This function causes a call to test_server:fail(Reason) on the + * This function causes a call to ct:fail(Reason) on the * Erlang side. */ diff --git a/lib/erl_interface/test/all_SUITE_data/runner.c b/lib/erl_interface/test/all_SUITE_data/runner.c index 47d918308d..2332db2220 100644 --- a/lib/erl_interface/test/all_SUITE_data/runner.c +++ b/lib/erl_interface/test/all_SUITE_data/runner.c @@ -200,8 +200,8 @@ char *read_packet(int *len) * ----- ---------------------------- * [$b|Bytes] {bytes, Bytes} * [$e] eot - * [$f] test_server:fail() - * [$f|Reason] test_server:fail(Reason) + * [$f] ct:fail() + * [$f|Reason] ct:fail(Reason) * [$t|EncodedTerm] {term, Term} * [$N] 'NULL' * [$m|Message] io:format("~s", [Message]) (otherwise ignored) @@ -213,7 +213,7 @@ char *read_packet(int *len) * you implement a test case entirely in C code. * * If the ok argument is zero, a [$f] reply will be sent to the - * Erlang side (causing test_server:fail() to be called); otherwise, + * Erlang side (causing ct:fail() to be called); otherwise, * the atom 'eot' will be sent to Erlang. * * If you need to provide more details on a failure, use the fail() function. @@ -253,7 +253,7 @@ do_report(file, line, ok) /* - * This function causes a call to test_server:fail(Reason) on the + * This function causes a call to ct:fail(Reason) on the * Erlang side. */ |