Branch: Tag:

2018-04-13

2018-04-13 12:28:29 by Martin Karlgren <marty@roxen.com>

WebDAV Testsuite: Put debug messages behind DAV_DEBUG.

2:      #include <testsuite.h>    + #ifdef DAV_DEBUG + #define DAV_WERROR(X...) werror(X) + #else /* !DAV_DEBUG */ + #define DAV_WERROR(X...) + #endif /* DAV_DEBUG */ +    array(Standards.URI) get_test_urls(Configuration conf,    string webdav_mount_point,    string|void username,
29:    mapping(string:mixed) url_data = prot->urls[url];    if (!test_true(mappingp, url_data)) continue;    -  report_debug("url data: %O\n", url_data); +  DAV_WERROR("url data: %O\n", url_data);    test_true(`==, url_data->conf, conf);    test_true(`==, url_data->port, prot);    test_true(stringp, url_data->hostname);