diff options
author | Christian Tismer <tismer@stackless.com> | 2017-02-10 11:05:33 +0100 |
---|---|---|
committer | Simo Fält <simo.falt@qt.io> | 2017-02-10 10:57:23 +0000 |
commit | 130962a2961e5dde0495a10e004cd4cd03343550 (patch) | |
tree | 1cd0db1de2f72d5ada1b3b20b4ed0a69e1d48df6 | |
parent | 0b9a8a49b39425f0ffd15815cad7cb0e644d294f (diff) |
Fix testrunner command “getcwd”
The testrunner.py script was generalisation to allow to select older build
versions. (This feature is not ready and in most cases it makes only sense
when comparing python 2 and 3.)
I had a wrong argument in “getcwd”. Fixed.
Change-Id: Ic948a5a6649535bd6ad3d23bbc846f03bde82de0
Reviewed-by: Simo Fält <simo.falt@qt.io>
-rw-r--r-- | testrunner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testrunner.py b/testrunner.py index 2d5b8d40a..67ccc51a6 100644 --- a/testrunner.py +++ b/testrunner.py @@ -733,8 +733,8 @@ if __name__ == '__main__': sys.exit(1) if args.subparser_name == "getcwd": - print(selected.build_dir, file=args.filename) - print(selected.build_dir, "written to file", args.filename.name) + print(builds.selected.build_dir, file=args.filename) + print(builds.selected.build_dir, "written to file", args.filename.name) sys.exit(0) elif args.subparser_name == "test": pass # we do it afterwards |