mirror of https://github.com/djcb/mu.git
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:
parent
e859bd376e
commit
bb5c36c658
|
@ -16,7 +16,7 @@
|
||||||
** Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
** Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#include "utils/mu-result.hh"
|
#include "utils/mu-result.hh"
|
||||||
#include <array>
|
#include <array>
|
||||||
|
@ -148,6 +148,9 @@ I said: "Aujourd'hui!"
|
||||||
"to:sqlite-dev@sqlite.org",
|
"to:sqlite-dev@sqlite.org",
|
||||||
"list:sqlite-dev.sqlite.org",
|
"list:sqlite-dev.sqlite.org",
|
||||||
"aujourd'hui",
|
"aujourd'hui",
|
||||||
|
#ifdef HAVE_CLD2
|
||||||
|
"lang:en",
|
||||||
|
#endif /*HAVE_CLD2*/
|
||||||
}) {
|
}) {
|
||||||
|
|
||||||
if (g_test_verbose())
|
if (g_test_verbose())
|
||||||
|
|
|
@ -135,6 +135,9 @@ test_mu_query_01(void)
|
||||||
{ "", 19 },
|
{ "", 19 },
|
||||||
{"msgid:abcd$efgh@example.com", 1},
|
{"msgid:abcd$efgh@example.com", 1},
|
||||||
{"i: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)
|
for (i = 0; i != G_N_ELEMENTS(queries); ++i)
|
||||||
|
|
Loading…
Reference in New Issue