X-Git-Url: http://git.onelab.eu/?p=tests.git;a=blobdiff_plain;f=system%2FTestMain.py;h=5a2ec32cd5ec3885555b08cca2d7c3876149f213;hp=19a934dfd05ced354c37c533a486df8d8c3ac513;hb=4ceca163f5e50dbfcaaed2e5401a14b0bb755696;hpb=492fc3a171d27f2f21d6f337704bd97f4f5b58f1 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 (