Commit aa2e9289 authored by Virgile Prevosto's avatar Virgile Prevosto

[ptests] STDOPT use previous LOG directive as well as OPT.

Makes ptests more conforming to the developer manual.
parent 7e0e307a
...@@ -785,13 +785,12 @@ let config_options = ...@@ -785,13 +785,12 @@ let config_options =
let new_top = let new_top =
List.map List.map
(fun (cmd,opts, log, macros,_) -> (fun (cmd,opts, log, macros,_) ->
cmd, make_custom_opts opts s, log, cmd, make_custom_opts opts s, log @ current.dc_default_log,
current.dc_macros, current.dc_timeout) current.dc_macros, current.dc_timeout)
!current_default_cmds !current_default_cmds
in in
{ current with dc_toplevels = new_top @ current.dc_toplevels; { current with dc_toplevels = new_top @ current.dc_toplevels;
dc_default_log = !current_default_log @ dc_default_log = !current_default_log });
current.dc_default_log });
"FILEREG", "FILEREG",
(fun _ s current -> { current with dc_test_regexp = s }); (fun _ s current -> { current with dc_test_regexp = s });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment