Skip to content

Commit

Permalink
runtests: --verbose instead of --quieter
Browse files Browse the repository at this point in the history
  • Loading branch information
pv authored and rgommers committed May 5, 2013
1 parent 8f59d25 commit ca81224
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions HACKING.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@ account and then create your local repository via::

To build Scipy and run tests etc., do one of::

$ python runtests.py -q
$ python runtests.py -s optimize
$ python runtests.py -t scipy/special/tests/test_basic.py:test_xlogy
$ python runtests.py -v
$ python runtests.py -v -s optimize
$ python runtests.py -v -t scipy/special/tests/test_basic.py:test_xlogy
$ python runtests.py --ipython

This builds Scipy first, so the first time it may take some time. If
Expand Down
8 changes: 4 additions & 4 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

def main(argv):
parser = ArgumentParser(usage=__doc__.lstrip())
parser.add_argument("--quieter", "-q", action="count", default=0,
help="less verbosity")
parser.add_argument("--verbose", "-v", action="count", default=1,
help="more verbosity")
parser.add_argument("--no-build", "-n", action="store_true", default=False,
help="do not build Scipy (use system installed version)")
parser.add_argument("--build-only", "-b", action="store_true", default=False,
Expand Down Expand Up @@ -110,7 +110,7 @@ def main(argv):
sys.argv += ['-A', "not slow"]
if args.doctests:
sys.argv += ['--doctest-tests']
if args.quieter <= 1:
if args.verbose >= 2:
sys.argv += ['-v']
sys.argv += args.tests
nose.main(sys.argv)
Expand All @@ -120,7 +120,7 @@ def main(argv):
test = scipy.test

result = test(args.mode,
verbose=max(0, 2-args.quieter),
verbose=args.verbose,
extra_argv=args.args,
doctests=args.doctests,
coverage=args.coverage)
Expand Down

0 comments on commit ca81224

Please sign in to comment.