]> _ Git - alire.git/commit
feat: find tests in nested folders (#1914)
authorAlejandro R Mosteo <amosteo@unizar.es>
Thu, 20 Mar 2025 18:01:33 +0000 (19:01 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Mar 2025 18:01:33 +0000 (19:01 +0100)
commit544504815e57dd1f12c10a54637be5e6dc0c8231
tree1255dd37eae0ff9bdbb33254cc9f0bad7da80fec
parent04f88e37190b5374a14646c28d5ec0eb9121ac24
feat: find tests in nested folders (#1914)

* Recursive test enumeration

* Keep hierarchy for test name output

* Test and cosmetic fixes

* Improved test

* Consistent output cross-OS

* Fix test for particular macOS output

* Hardening and test for filtering on paths

* Remove predicate that crashes old GNAT

* gnatformat

* Make portable path types explicit

* filtering and general fixes

---------

Co-authored-by: AldanTanneo <aldantanneo@gmail.com>
src/alire/alire-test_runner.adb
src/alire/alire-vfs.ads
src/alr/alr-commands-init.adb
testsuite/tests/test/filtering/test.py
testsuite/tests/test/nested-filtering/test.py [new file with mode: 0644]
testsuite/tests/test/nested-filtering/test.yaml [new file with mode: 0644]
testsuite/tests/test/nested-tests/test.py [new file with mode: 0644]
testsuite/tests/test/nested-tests/test.yaml [new file with mode: 0644]