aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_run.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2012-03-18 01:56:40 +0100
committerPeter Andersson <[email protected]>2012-03-19 14:16:04 +0100
commit86acf3b0515628e645f1641c3b0542071a87d05d (patch)
tree43697fcc4f7bfd5c00fe3e50912ffe90a68dfc97 /lib/common_test/src/ct_run.erl
parent2409000567436f33fd912e9a809cc9dda3e9172f (diff)
downloadotp-86acf3b0515628e645f1641c3b0542071a87d05d.tar.gz
otp-86acf3b0515628e645f1641c3b0542071a87d05d.tar.bz2
otp-86acf3b0515628e645f1641c3b0542071a87d05d.zip
Fix bug in handling ct_hooks start arguments
Diffstat (limited to 'lib/common_test/src/ct_run.erl')
-rw-r--r--lib/common_test/src/ct_run.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_run.erl b/lib/common_test/src/ct_run.erl
index d142bdaa81..72124f6f21 100644
--- a/lib/common_test/src/ct_run.erl
+++ b/lib/common_test/src/ct_run.erl
@@ -2329,7 +2329,7 @@ ct_hooks_args2opts(Args) ->
Acc
end,[],Args).
-ct_hooks_args2opts([CTH,Arg,Prio,"and"| Rest],Acc) ->
+ct_hooks_args2opts([CTH,Arg,Prio,"and"| Rest],Acc) when Arg /= "and" ->
ct_hooks_args2opts(Rest,[{list_to_atom(CTH),
parse_cth_args(Arg),
parse_cth_args(Prio)}|Acc]);