X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=base_driver.py;h=1be143288fffd5af79245757674b0434aabd66a1;hp=51032bdab51cc9026a2990d20074c4fc23a72de8;hb=1017d793714f4d3d2fe2b4d29e1eaf564d5db855;hpb=b8296ac85e510854e7ad57b02ddba25114b92775 diff --git a/base_driver.py b/base_driver.py index 51032bd..1be1432 100644 --- a/base_driver.py +++ b/base_driver.py @@ -124,8 +124,10 @@ def get_scripts_path(): sys.exit(1) -class Main: - global options +class Driver: + + def __init__(self): + pass def createOptParser(self): default_apitrace = 'apitrace' @@ -164,8 +166,11 @@ class Main: sys.path.insert(0, get_scripts_path()) + self.options = options + self.args = args + return options, args - def main(self): + def run(self): raise NotImplementedError