diff options
author | Peter Andersson <[email protected]> | 2012-01-18 15:45:40 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2012-03-13 14:57:35 +0100 |
commit | 4aabf295e7b11d5ae03553aab1ba83a2657fa7aa (patch) | |
tree | fcb2c6b03a63af56a00da21b53aa536e4170d0fc /lib/common_test/src/ct_util.hrl | |
parent | 24cb87703d919598d5b95268d868432c8ada3232 (diff) | |
download | otp-4aabf295e7b11d5ae03553aab1ba83a2657fa7aa.tar.gz otp-4aabf295e7b11d5ae03553aab1ba83a2657fa7aa.tar.bz2 otp-4aabf295e7b11d5ae03553aab1ba83a2657fa7aa.zip |
Make it possible to use unique priv_dir names
Introduce the optional feature to have Test Server generate
priv_dir directory names that are unique for each test case
or config function. The name of the option/flag is
'unique_priv_dir' and it can be set to value 'auto' or
'manual'. If auto, Test Server creates each priv_dir
automatically (can be expensive in case of many and/or repeated
cases). If manual, the user needs to create the priv_dir
explicitly by calling ct:make_priv_dir/0.
Diffstat (limited to 'lib/common_test/src/ct_util.hrl')
-rw-r--r-- | lib/common_test/src/ct_util.hrl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_util.hrl b/lib/common_test/src/ct_util.hrl index bde832811a..da96743732 100644 --- a/lib/common_test/src/ct_util.hrl +++ b/lib/common_test/src/ct_util.hrl @@ -43,9 +43,10 @@ include=[], multiply_timetraps=[], scale_timetraps=[], + unique_priv_dir=[], alias=[], tests=[], - merge_tests = true }). + merge_tests=true}). -record(cover, {app=none, level=details, |