Browse Source

Use argparse's append mode for '--not-tag'

Doug Ilijev 8 years ago
parent
commit
53ef24a4d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/runtests.py

+ 1 - 1
test/runtests.py

@@ -62,7 +62,7 @@ parser.add_argument('--nightly', action='store_true',
                     help='run as nightly tests')
                     help='run as nightly tests')
 parser.add_argument('--tag', nargs='*',
 parser.add_argument('--tag', nargs='*',
                     help='select tests with given tags')
                     help='select tests with given tags')
-parser.add_argument('--not-tag', nargs='*',
+parser.add_argument('--not-tag', action='append',
                     help='exclude tests with given tags')
                     help='exclude tests with given tags')
 parser.add_argument('--flags', default='',
 parser.add_argument('--flags', default='',
                     help='global test flags to ch')
                     help='global test flags to ch')