X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FTestMain.py;h=5a2ec32cd5ec3885555b08cca2d7c3876149f213;hb=9e5cba850b98b3b1fb5c9f51b94523eb29689d98;hp=19a934dfd05ced354c37c533a486df8d8c3ac513;hpb=6f9cfa7ae380b6582f2ef85b39d01399093baf11;p=tests.git diff --git a/system/TestMain.py b/system/TestMain.py index 19a934d..5a2ec32 100755 --- a/system/TestMain.py +++ b/system/TestMain.py @@ -92,8 +92,6 @@ class Step: class TestMain: default_config = [ 'default' ] -# default_rspec_styles = [ 'pl', 'pg' ] - default_rspec_styles = [ 'pg' ] default_build_url = "git://git.onelab.eu/tests" @@ -195,7 +193,7 @@ run with -l to see a list of available steps type=int, help="run steps only on plc numbered , starting at 1") parser.add_argument("-y", "--rspec-style", action="append", dest="rspec_styles", default=[], - help="pl is for planetlab rspecs, pg is for protogeni") + help="OBSOLETE - for compat only") parser.add_argument("-k", "--keep-going", action="store", dest="keep_going", default=False, help="proceeds even if some steps are failing") parser.add_argument("-D", "--dbname", action="store", dest="dbname", default=None, @@ -245,8 +243,8 @@ run with -l to see a list of available steps setattr(self.options, optname, flatten([arg.split() for arg in getattr(self.options, optname)])) - if not self.options.rspec_styles: - self.options.rspec_styles = TestMain.default_rspec_styles + if self.options.rspec_styles: + print("WARNING: -y option is obsolete") # handle defaults and option persistence for recname, filename, default, need_reverse in (