diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2017-02-04 00:45:48 +0100 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2017-03-17 12:23:24 +0100 |
commit | 51b85a8cf754a55cbebf3f3344637170eab8ce34 (patch) | |
tree | a08662f308cdae8325ea5fbbcdc6a36eac3c5ae6 /plans | |
parent | 1f2a9a0701cd3f3f3419768704d5f09800694bdf (diff) |
automated: test-runner: encapsulate the TestRun object into TestDef
There is no need to create an additional object in main(). Instead we can create
the 'runner' object in the TestDef init() and directly invoke the run() and
check_result() function.
Also rename TestDefinition.run() function as TestDefinition.mkrun(). This
function really generates the run script, calling it run() is confusing, as this
is not where the test runs.
Change-Id: I4348e1e834e7083174aa60a8f4533747e49c3757
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'plans')
0 files changed, 0 insertions, 0 deletions