diff options
author | Siri Hansen <[email protected]> | 2012-10-22 16:06:32 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-10-30 11:18:41 +0100 |
commit | f6c1c3127f027cd717d01613cd356c5ada35041c (patch) | |
tree | ff80989d4bc38693f3d88d0e7ae2a5c2e0f69c78 /lib/common_test/src/ct_util.hrl | |
parent | 0c924848a3f7bae6fe3d4f2b5d4d47277e45665b (diff) | |
download | otp-f6c1c3127f027cd717d01613cd356c5ada35041c.tar.gz otp-f6c1c3127f027cd717d01613cd356c5ada35041c.tar.bz2 otp-f6c1c3127f027cd717d01613cd356c5ada35041c.zip |
[common_test] Add option cover_stop
By default, test_server will always stop cover (and thus load back the
non cover compiled original beam files) after a test with code
coverage analysis is completed. The new option allows the common_test
user to specify that cover shall not be stopped. This can be useful if
there are processes still running old code, i.e. processes that have
not done any fully qualified function call after the cover
compilation, since loading the original code then will kill those
processes. This is only recommended if the erlang node is to be
stopped after the test run, or if cover can be manually stopped.
Diffstat (limited to 'lib/common_test/src/ct_util.hrl')
-rw-r--r-- | lib/common_test/src/ct_util.hrl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/common_test/src/ct_util.hrl b/lib/common_test/src/ct_util.hrl index 196b5e46d0..c9c6514fa4 100644 --- a/lib/common_test/src/ct_util.hrl +++ b/lib/common_test/src/ct_util.hrl @@ -38,6 +38,7 @@ verbosity=[], silent_connections=[], cover=[], + cover_stop=[], config=[], userconfig=[], event_handler=[], |