Change the magic parameter cherry-picking code in the common test
implementation to automatically take into account new parameters added
to the generic execute method. The recent addition of profile_only
didn't quite work because the argument would never actually be passed
on to test.execute unless test.run_once itself accepted such an
argument.

Previously we had code that explicitly pulled in the iterations and
test_length args (the previous test.execute parameters) but this code
was not updated to also pull in profile_only. Instad of continuing to
force people to make changes in two places to add a new arg, I updated
the code to re-use our parameter extraction code and automatically pull
in all the explicit (non * and **) parameters accepted by test.execute.

Risk: Low
Visibility: Fixes a bug that made the new profile_only option useless.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2817 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed