]> xenbits.xensource.com Git - people/aperard/xtf.git/commit
Fix the use of ./xtf-runner on Python 2.4
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Sep 2016 16:49:10 +0000 (17:49 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Sep 2016 16:54:02 +0000 (17:54 +0100)
commit1313f37eef92d427bbd77838c3e1b95be323e607
tree65faaca346157a86e35d2352c65228cc02ffe3bc
parent97541e1fde20b6823fa146357a57ec7c6f802c05
Fix the use of ./xtf-runner on Python 2.4

 * subprocess has no check_output().  Opencode it.
 * {} set notation doesn't exist.  Call the set() constructor explicitly.
 * tuple has no .index().  Switch all_results to being a list.
 * OptionParser() has no epilog option.  Monkeypatch it into the parser object.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xtf-runner