diff options
author | Lukas Larsson <[email protected]> | 2012-03-15 18:16:10 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2012-03-21 14:48:14 +0100 |
commit | 1a8f98fa674051cf973652ce16588420525de433 (patch) | |
tree | 837eb16b95a48a722caab979f04c458e2c16da73 /lib/common_test/src/ct_run.erl | |
parent | 6fcadc9e5809f715bde640860412365f271d3a89 (diff) | |
download | otp-1a8f98fa674051cf973652ce16588420525de433.tar.gz otp-1a8f98fa674051cf973652ce16588420525de433.tar.bz2 otp-1a8f98fa674051cf973652ce16588420525de433.zip |
Change default of enable builtin hooks to undefined
Diffstat (limited to 'lib/common_test/src/ct_run.erl')
-rw-r--r-- | lib/common_test/src/ct_run.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/common_test/src/ct_run.erl b/lib/common_test/src/ct_run.erl index 666eb3c988..38632a89c2 100644 --- a/lib/common_test/src/ct_run.erl +++ b/lib/common_test/src/ct_run.erl @@ -57,7 +57,7 @@ config = [], event_handlers = [], ct_hooks = [], - enable_builtin_hooks = true, + enable_builtin_hooks, include = [], silent_connections, stylesheet, @@ -187,8 +187,8 @@ script_start1(Parent, Args) -> CTHooks = ct_hooks_args2opts(Args), EnableBuiltinHooks = get_start_opt(enable_builtin_hooks, fun([CT]) -> list_to_atom(CT); - ([]) -> true - end, true, Args), + ([]) -> undefined + end, undefined, Args), %% check flags and set corresponding application env variables @@ -782,7 +782,7 @@ run_test2(StartOpts) -> fun(EBH) when EBH == true; EBH == false -> EBH - end, true, StartOpts), + end, undefined, StartOpts), %% silent connections SilentConns = get_start_opt(silent_connections, |