Filetypes need not have a filename suffix pattern (like e.g. `*.c`), but can 
have other form of patterns (e.g. `Makefile`, `meson.build`, etc.), or even no 
patterns at all.

Such less common patterns make it impossible to match them in unittests, as 
filenames used there need to be of the form `test_*`.

Fix this by adding a fake extension to each filetype that is the name of the 
filetype followed with `_unittest`, e.g. `CMake_unittest` or `Meson_unittest`.

Fixes #4074.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/4225

-- Commit Summary --

  * tests/ctags: Allow testing filetypes with no suffix patterns

-- File Changes --

    M tests/ctags/runner.sh (5)

-- Patch Links --

https://github.com/geany/geany/pull/4225.patch
https://github.com/geany/geany/pull/4225.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4225
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/[email protected]>

Reply via email to