src/server/test/main.c

branch
webdav
changeset 287
a171da778817
parent 259
0b8692959d37
child 289
285d483db2fb
--- a/src/server/test/main.c	Fri Feb 04 18:41:40 2022 +0100
+++ b/src/server/test/main.c	Sat Feb 19 16:34:29 2022 +0100
@@ -46,6 +46,9 @@
 #include "xml.h"
 #include "webdav.h"
 
+void register_pg_tests(int argc, char **argv, UcxTestSuite *suite);
+
+
 void test() {
     
 }
@@ -105,6 +108,11 @@
     ucx_test_register(suite, test_webdav_propfind);
     ucx_test_register(suite, test_webdav_proppatch);
     ucx_test_register(suite, test_webdav_put);
+    
+    // plugin tests
+#ifdef ENABLE_POSTGRESQL
+    register_pg_tests(argc, argv, suite);
+#endif
        
     // run tests
     ucx_test_run(suite, stdout);

mercurial