ac52584562
build: modernize meson usage
...
Since we require meson 1.3(.2), we can modernize the usage a bit,
as well as improve some logic
- use / instead of join_paths
- use option.allowed() instead of !option.disable()
- use cxx.get_supported_arguments
- use fs.copyfile instead of configure_file
- show a summary at the end of the configuration
2026-08-20 15:05:32 -07:00
9cf9531acc
mu: improve command-line handling
...
- Remove some dead code
- Make error messages a bit more user-friendly.
- Small cleanups
- Add unit tests and actually run them
2026-08-20 15:05:31 -07:00
656aa41ada
rename 'mu label' -> 'mu labels'
...
Update names, docs etc.
2026-08-20 15:04:26 -07:00
46fa4f2aa2
mu: add 'label' command + manpage + tests
...
Add a label command and document it.
2025-08-15 21:03:19 +03:00
34d3bf2e28
tests: only build when needed
...
Build the tests lazily, i.e., not before `meson test`. This helps with
build-times.
2025-08-15 21:01:05 +03:00
30b8238522
tests: move to tests/, make optional
...
While not recommended, sometimes it can be useful to disable building
the unit tests. This can be done now with
meson -Dtests=disabled build
2024-01-06 18:35:22 +02:00
d7f8a64b20
mu: modernize command-line unit tests
2023-08-27 11:07:55 +03:00
317fe53ff7
tests: update test helpers and users
...
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for
g_test_init. Update users.
2022-08-11 22:55:10 +03:00
907751bc7b
test: enable some more
2022-05-13 23:01:33 +03:00
d79488efdc
avoid warnings, update tests
2022-05-06 22:54:41 +03:00
4eddf4e6ba
update unit tests
2022-02-21 23:51:46 +02:00
48d3f9cfab
tests: move to subdir, move to meson
...
De-clutter the source directories a bit. Ensure tests build with meson, and
remove from autotools in a few places (no need to do things twice).
2021-11-08 23:58:05 +02:00