eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit d6d481210e331df727f4c17ae4b291fb96a40e3a
parent 4ee44ee0eaab28666260ab4589d1d1bd34de2fef
Author: James Prestwood <prestwoj@gmail.com>
Date:   Tue,  4 Jan 2022 09:37:35 -0800

test-runner: only include comitted tests for full test runs

If specific tests are not specified with -A, only run tests tracked by
git for full test runs.

Diffstat:
Mtools/test-runner | 11++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/tools/test-runner b/tools/test-runner @@ -1100,7 +1100,6 @@ def build_test_list(args): ''' tests = [] test_root = args.testhome + '/autotests' - full_list = sorted(os.listdir(test_root)) # Run all tests if not args.auto_tests: @@ -1108,10 +1107,16 @@ def build_test_list(args): if args.shell: return [test_root + '/shell'] - # Pair down any non-tests and append full path - tests = [test_root + '/' + t for t in full_list if t.startswith('test')] + # Get list of all autotests (committed in git) + tests = os.popen('git -C %s ls-files autotests/ | cut -f2 -d"/" \ + | grep "test*" | uniq' % args.testhome).read() \ + .strip().split('\n') + tests = [test_root + '/' + t for t in tests] else: print("Generating partial test list") + + full_list = sorted(os.listdir(test_root)) + for t in args.auto_tests.split(','): path = '%s/%s' % (test_root, t) if t.endswith('+'):