aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorMatías A. Ré Medina <aereal@gmail.com>2018-07-05 08:20:17 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-07-09 18:28:09 +0800
commit1ebeb7e588a95a7ef57937d26752e0fbad606d20 (patch)
treef9d6e4f0764b47dca79214156ffd91d94f8374bf /.gitignore
parent7101a8905656d52cf9023a2e4340219d184920c3 (diff)
downloaddexon-solidity-1ebeb7e588a95a7ef57937d26752e0fbad606d20.tar
dexon-solidity-1ebeb7e588a95a7ef57937d26752e0fbad606d20.tar.gz
dexon-solidity-1ebeb7e588a95a7ef57937d26752e0fbad606d20.tar.bz2
dexon-solidity-1ebeb7e588a95a7ef57937d26752e0fbad606d20.tar.lz
dexon-solidity-1ebeb7e588a95a7ef57937d26752e0fbad606d20.tar.xz
dexon-solidity-1ebeb7e588a95a7ef57937d26752e0fbad606d20.tar.zst
dexon-solidity-1ebeb7e588a95a7ef57937d26752e0fbad606d20.zip
Change isolate_tests to support single files as an input
On the documentation the examples for the usage of isolate_tests.py are shown with single files, and it's currently not working. It only works for folders or wildcards that return more than one file, since that's how os.walk works within a loop for that cases. Proposed an simple and easy fix. I extracted the core functionality for extracting tests from files, and made another function called `extract_and_write` If the program receives a single file the function `extract_and_write` is called once, it even works for `docs` when specified. If the program receives a path or a wildcard, works as used to.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions