tests: add glob matching for unified tests
This adds a " (glob)" marker that works like a simpler version of (re): "*" is converted to ".*", and "?" is converted to ".". Both special characters can be escaped using "\", and the backslash itself can be escaped as well. Other glob-style syntax, like "**", "[chars]", or "[!chars]", isn't supported.
Showing
- tests/run-tests.py 23 additions, 2 deletionstests/run-tests.py
- tests/test-archive.t 4 additions, 4 deletionstests/test-archive.t
- tests/test-audit-path.t 1 addition, 1 deletiontests/test-audit-path.t
- tests/test-bad-extension.t 1 addition, 1 deletiontests/test-bad-extension.t
- tests/test-bad-pull.t 1 addition, 1 deletiontests/test-bad-pull.t
- tests/test-bookmarks-rebase.t 1 addition, 1 deletiontests/test-bookmarks-rebase.t
- tests/test-bookmarks-strip.t 1 addition, 1 deletiontests/test-bookmarks-strip.t
- tests/test-clone.t 1 addition, 1 deletiontests/test-clone.t
- tests/test-default-push.t 2 additions, 2 deletionstests/test-default-push.t
- tests/test-globalopts.t 2 additions, 2 deletionstests/test-globalopts.t
- tests/test-help.t 2 additions, 2 deletionstests/test-help.t
- tests/test-hgignore.t 2 additions, 2 deletionstests/test-hgignore.t
- tests/test-hgrc.t 19 additions, 19 deletionstests/test-hgrc.t
- tests/test-hook.t 2 additions, 2 deletionstests/test-hook.t
- tests/test-install.t 2 additions, 2 deletionstests/test-install.t
- tests/test-journal-exists.t 1 addition, 1 deletiontests/test-journal-exists.t
- tests/test-keyword.t 25 additions, 25 deletionstests/test-keyword.t
- tests/test-mq-merge.t 6 additions, 6 deletionstests/test-mq-merge.t
- tests/test-mq-qfold.t 3 additions, 3 deletionstests/test-mq-qfold.t
- tests/test-mq-qrefresh.t 1 addition, 1 deletiontests/test-mq-qrefresh.t
Loading
Please register or sign in to comment