diff options
author | Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> | 2019-10-29 00:25:59 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-10-29 00:25:59 -0700 |
commit | 3cf21e6edc14e8431a0a65867a45df35aef1911e (patch) | |
tree | 26a24062ce173fc3ab8ce83c1d9450fdcd1085c3 /share | |
parent | aad8ea172c404b533ab011e60c0e878cc48883f1 (diff) | |
download | spack-3cf21e6edc14e8431a0a65867a45df35aef1911e.tar.gz spack-3cf21e6edc14e8431a0a65867a45df35aef1911e.tar.bz2 spack-3cf21e6edc14e8431a0a65867a45df35aef1911e.tar.xz spack-3cf21e6edc14e8431a0a65867a45df35aef1911e.zip |
bugfix: make `spack -d test test_changed_files` work (#13229)
The `test_changed_files` in `test/cmd/flake8.py` was failing because it calls
`ArgumentParser.parse_args()` without arguments. Normally that would just
parse `sys.argv` but it seems to fail because of something in either `spack test`
or `pytest`. Call it with an empty array so that it doesn't try to touch`sys.argv`
at all.
- [x] allow `-d` spack option for `test_changed_files`
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions