On 05/23/2016 03:38 PM, Nick Anderson wrote:
On 05/23/2016 08:31 AM, Alexis Mousset wrote:
Hello,
I have run the ncf tests against this build, and found no regression
related to iterations. However, some tests are broken because strings
containing unexpandable variables are skipped. Is it a intended change
of behavior in 3.10?
It might be helpful if you can provide self contained reproductions for
the things that aren't working as expected. How are you using these
unexpanded variables?
Actually, it seems to happen only with nested variables. A simple case is:
bundle agent main {
vars:
"string1" string => "test1";
reports:
"$(test simple)";
"$(test $(string1))";
"$(test $(string2))";
}
Which displayed:
R: $(test simple)
R: $(test test1)
R: $(test $(string2))
before, and only:
R: $(test simple)
in this build.
I did a quick comparison with 3.9b1 and found a speedup around 7% with
this build, but the tests do not use a lot of nested iterations.
Thats pretty significant I would say. Thanks for testing!
--
--
You received this message because you are subscribed to the Google Groups
"dev-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dev-cfengine/f8f92e34-c028-050a-9623-83cac613b612%40normation.com.
For more options, visit https://groups.google.com/d/optout.