`test_runner` command line doesn't allow running scripts with parameters #14791

issue laanwj opened this issue on November 23, 2018
  1. laanwj commented at 8:34 AM on November 23, 2018: member

    The following code is in test_runner.py:

             # Individual tests have been specified. Run specified tests that exist
             # in the ALL_SCRIPTS list. Accept the name with or without .py extension.
             tests = [re.sub("\.py$", "", test) + ".py" for test in tests]
    

    This adds .py to the end of the test name, making it impossible to run, say rpc_bind.py --ipv6. This test was failing here locally so I wanted to run it separately.

    I think this step should be skipped if .py is already given. Or alternatively, only applied to the first part of the test name and not arguments.

  2. laanwj added the label Tests on Nov 23, 2018
  3. laanwj added the label good first issue on Nov 23, 2018
  4. MarcoFalke referenced this in commit 9390217044 on Dec 7, 2018
  5. MarcoFalke closed this on Dec 7, 2018

  6. TheArbitrator referenced this in commit 4671a627cb on Jun 23, 2021
  7. PastaPastaPasta referenced this in commit dfe4f52607 on Jun 27, 2021
  8. PastaPastaPasta referenced this in commit 1c9e3a77c0 on Jun 28, 2021
  9. PastaPastaPasta referenced this in commit b5568c63d4 on Jun 29, 2021
  10. PastaPastaPasta referenced this in commit c7b2ead27e on Jul 1, 2021
  11. PastaPastaPasta referenced this in commit 9d24dbb300 on Jul 1, 2021
  12. PastaPastaPasta referenced this in commit 3c9909ee51 on Jul 1, 2021
  13. UdjinM6 referenced this in commit e572b6929a on Jul 5, 2021
  14. PastaPastaPasta referenced this in commit 81f9d7500e on Jul 8, 2021
  15. DrahtBot 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-13 15:15 UTC

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