tests: add some very basic CLD2_TEST

just to check if it works at all; no need to check cld2 at all.
This commit is contained in:
Dirk-Jan C. Binnema 2024-03-01 23:05:33 +02:00
parent e859bd376e
commit bb5c36c658
2 changed files with 7 additions and 1 deletions

View File

@ -16,7 +16,7 @@
** Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**
*/
#include "config.h"
#include "utils/mu-result.hh"
#include <array>
@ -148,6 +148,9 @@ I said: "Aujourd'hui!"
"to:sqlite-dev@sqlite.org",
"list:sqlite-dev.sqlite.org",
"aujourd'hui",
#ifdef HAVE_CLD2
"lang:en",
#endif /*HAVE_CLD2*/
}) {
if (g_test_verbose())

View File

@ -135,6 +135,9 @@ test_mu_query_01(void)
{ "", 19 },
{"msgid:abcd$efgh@example.com", 1},
{"i:abcd$efgh@example.com", 1},
#ifdef HAVE_CLD2
{ "lang:en", 14},
#endif /*HAVE_CLD2*/
};
for (i = 0; i != G_N_ELEMENTS(queries); ++i)