rpc-tests.py --help #8017

issue paveljanik opened this issue on May 6, 2016
  1. paveljanik commented at 9:31 AM on May 6, 2016: contributor
    pull-tester bitcoin$ ./rpc-tests.py  --help | head -1
    Usage: bip68-112-113-p2p.py [options]
    pull-tester bitcoin$ 
    
  2. paveljanik commented at 9:37 AM on May 6, 2016: contributor

    -extended is also not shown in the --help output.

  3. MarcoFalke commented at 9:42 AM on May 6, 2016: member

    This is by design: In theory args with only one hypen should go into the pull tester and args with two hypen should go into the specific test.

    You may want to look at #7971, which clarifies the docs, hopefully.

  4. MarcoFalke added the label Tests on May 6, 2016
  5. paveljanik commented at 9:43 AM on May 6, 2016: contributor

    I'm on it right now.

  6. fanquake commented at 10:37 AM on June 22, 2016: member

    @paveljanik What's the status of this now that #7971 has been merged?

  7. paveljanik commented at 10:52 AM on June 22, 2016: contributor

    Current master:

    pavel$ ./rpc-tests.py --help
    Usage: p2p-fullblocktest.py [options]
    
  8. MarcoFalke commented at 11:24 AM on June 22, 2016: member

    @paveljanik Make sure to select only the rpc test you want the help for. (default=select all quick tests)

    The script will only print help of the first script and exit: https://github.com/bitcoin/bitcoin/blob/9e45ef1ef0314d23938c200bd357b2a069acde9b/qa/pull-tester/rpc-tests.py#L182

  9. MarcoFalke commented at 11:25 AM on June 22, 2016: member

    -extended is also not shown in the --help output.

    I will try to clean up the doc further when we got rid of the -win option.

  10. paveljanik commented at 2:52 PM on June 22, 2016: contributor

    I think --help should help me to select tests I would like to run and not print the first help available :-) Of course I know I can run selected scripts directly.

  11. MarcoFalke commented at 3:36 PM on June 22, 2016: member
  12. paveljanik commented at 3:38 PM on June 22, 2016: contributor

    Sure, or I can read the source ;-) Or execute --help...

  13. MarcoFalke commented at 7:15 PM on January 16, 2018: member

    -extended is also not shown in the --help output.

    I think --help should help me to select tests I would like to run @paveljanik I believe this is fixed on master.

  14. paveljanik commented at 11:28 AM on January 17, 2018: contributor

    Yup, ./test_runner.py --help works as expected, closing.

  15. paveljanik closed this on Jan 17, 2018

  16. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-28 00:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me