This is needed specifically by XTS, but it might be useful for other external suites that want to move files out of their runtime directories into the saved directory. Specifically if those files are linked into the summary.
Signed-off-by: Dylan Baker <[email protected]> --- framework/core.py | 1 + piglit-resume.py | 1 + piglit-run.py | 1 + 3 files changed, 3 insertions(+) diff --git a/framework/core.py b/framework/core.py index 48dd9b0..9bd8685 100644 --- a/framework/core.py +++ b/framework/core.py @@ -411,6 +411,7 @@ class TestProfile(object): self.filters = [] # Sets a default of a Dummy self.dmesg = False + self.results_dir = None @property def dmesg(self): diff --git a/piglit-resume.py b/piglit-resume.py index 09d0664..bc9bba4 100755 --- a/piglit-resume.py +++ b/piglit-resume.py @@ -77,6 +77,7 @@ def main(): env.exclude_tests.add(key) profile = core.merge_test_profiles(results.options['profile']) + profile.results_dir = args.results_path if env.dmesg: profile.dmesg = env.dmesg diff --git a/piglit-run.py b/piglit-run.py index 672c057..fafe6c0 100755 --- a/piglit-run.py +++ b/piglit-run.py @@ -158,6 +158,7 @@ def main(): json_writer.write_dict_item(key, value) profile = core.merge_test_profiles(args.test_profile) + profile.results_dir = args.results_path json_writer.write_dict_key('tests') json_writer.open_dict() -- 1.9.1 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
