diff options
author | Björn Gustavsson <[email protected]> | 2012-09-14 15:52:38 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-09-20 11:31:00 +0200 |
commit | 5de847a30702a96fd1c7286172e3941a62d78436 (patch) | |
tree | b9a3edb33d77014624a16091054593540f12ff4b /lib/test_server/src/ts.erl | |
parent | c24f87e19cc01437c3c7b84e9c3fbeceb8c3b736 (diff) | |
download | otp-5de847a30702a96fd1c7286172e3941a62d78436.tar.gz otp-5de847a30702a96fd1c7286172e3941a62d78436.tar.bz2 otp-5de847a30702a96fd1c7286172e3941a62d78436.zip |
ts_run: Make errors from ct:run_test/1 visible
The ts wrapper module invokes common_test by calling the
ct:run_test/1 function using "erl -eval Cmd". Since
ct:run_test/1 is intended to by called from the Erlang shell,
it returns error values rather than printing them. Therefore,
when an error occurs, users of ts may not see any error
indication.
Introduce the ts_run:ct_run_test/2 wrapper which invokes
ct:run_test/1 and prints out any error that occurs.
Diffstat (limited to 'lib/test_server/src/ts.erl')
0 files changed, 0 insertions, 0 deletions