summaryrefslogtreecommitdiff
path: root/lib/tests/meson.build
AgeCommit message (Collapse)Author
2025-08-15tests: only build when neededDirk-Jan C. Binnema
Build the tests lazily, i.e., not before `meson test`. This helps with build-times.
2024-01-06tests: move to tests/, make optionalDirk-Jan C. Binnema
While not recommended, sometimes it can be useful to disable building the unit tests. This can be done now with meson -Dtests=disabled build
2023-09-12unit tests: improveDirk-Jan C. Binnema
and add a new one for the indexer
2023-09-09lib: implement new query parserDirk-Jan C. Binnema
Implement a new query parser; the results should be very similar to the old one, but it adds an Sexp middle-representation, so users can see how a query is interpreted.
2022-08-11tests: update test helpers and usersDirk-Jan C. Binnema
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for g_test_init. Update users.
2022-06-09tests: add store/query testDirk-Jan C. Binnema
Add some tests for storing/indexing message and then run queries on them.
2022-06-07bench-store-index: make a bit more realisticDirk-Jan C. Binnema
``` .',;::::;,'. djcb@evergrey .';:cccccccccccc:;,. ------------- .;cccccccccccccccccccccc;. OS: Fedora release 36 (Thirty Six) x86_64 .:cccccccccccccccccccccccccc:. Host: MS-7B09 2.0 .;ccccccccccccc;.:dddl:.;ccccccc;. Kernel: 5.17.11-300.fc36.x86_64 .:ccccccccccccc;OWMKOOXMWd;ccccccc:. Uptime: 6 hours, 16 mins .:ccccccccccccc;KMMc;cc;xMMc:ccccccc:. Packages: 4340 (rpm), 70 (flatpak) ,cccccccccccccc;MMM.;cc;;WW::cccccccc, Shell: zsh 5.8.1 :cccccccccccccc;MMM.;cccccccccccccccc: Resolution: 3840x2160 :ccccccc;oxOOOo;MMM0OOk.;cccccccccccc: WM: sway cccccc:0MMKxdd:;MMMkddc.;cccccccccccc; Theme: Adwaita [GTK2] ccccc:XM0';cccc;MMM.;cccccccccccccccc' Icons: Adwaita [GTK2] ccccc;MMo;ccccc;MMW.;ccccccccccccccc; Terminal: tilix ccccc;0MNc.ccc.xMMd:ccccccccccccccc; CPU: AMD Ryzen Threadripper 1950X (32) @ 3.399GHz cccccc;dNMWXXXWM0::cccccccccccccc:, GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590 cccccccc;.:odl:.;cccccccccccccc:,. Memory: 7101MiB / 15881MiB :cccccccccccccccccccccccccccc:'. .:cccccccccccccccccccccc:;,.. '::cccccccccccccc::;,. ``` % make benchmark ninja -C /home/djcb/Sources/mu/build benchmark ninja: Entering directory `/home/djcb/Sources/mu/build' [0/1] Running benchmark suite. 1/1 bench-store-index OK 17.40s
2022-06-04lib/tests: move tests to parentDirk-Jan C. Binnema
Otherwise, the coverage checker won't notice them!
2022-05-28lib/tests: add indexing benchmarkDirk-Jan C. Binnema
2022-03-26many: update for lib/message updatesDirk-Jan C. Binnema
Adapt to the new names / directory. Big commit, but mostly just very boring renaming.
2022-03-26message: move to lib/message, update namingDirk-Jan C. Binnema
Basically, move/rename lib/mu-message* to lib/mu-*. Add the beginnings of a Message class.
2022-03-07tests: update for mu-message-fieldsDirk-Jan C. Binnema
2022-02-22lib: add unit tests for message priority / flagsDirk-Jan C. Binnema
We already had _compile-time_ tests; but for coverage it's useful to make those available as runtime-tests, too.
2022-02-21tests: update namingDirk-Jan C. Binnema
2022-02-21update unit testsDirk-Jan C. Binnema
2022-02-21lib: rename contacts into contacts-cacheDirk-Jan C. Binnema
Plus dependents.
2022-02-21lib: Implement Mu::MessageContactDirk-Jan C. Binnema
Implement a new struct Mu::MessageContact to usurps some of the different types for contact information. Sprinkle some "modern C++" on it for convenience.
2022-02-17*: update code for Mu::MessageFlagsDirk-Jan C. Binnema
Migrate the code to use the new niceness
2021-11-08tests: move to subdir, move to mesonDirk-Jan C. Binnema
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).