1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

core: move directory/file functions from wee-util.c to wee-dir.c (issue #1285)

This commit is contained in:
Sébastien Helleu
2021-04-18 21:23:14 +02:00
parent 9eecad496d
commit 269576eea2
19 changed files with 715 additions and 607 deletions
+3 -2
View File
@@ -34,10 +34,10 @@ extern "C"
#define HAVE_CONFIG_H
#endif
#include "src/core/weechat.h"
#include "src/core/wee-dir.h"
#include "src/core/wee-hook.h"
#include "src/core/wee-input.h"
#include "src/core/wee-string.h"
#include "src/core/wee-util.h"
#include "src/plugins/plugin.h"
#include "src/gui/gui-main.h"
#include "src/gui/gui-buffer.h"
@@ -62,6 +62,7 @@ extern "C"
IMPORT_TEST_GROUP(CoreArraylist);
IMPORT_TEST_GROUP(CoreCalc);
IMPORT_TEST_GROUP(CoreCrypto);
IMPORT_TEST_GROUP(CoreDir);
IMPORT_TEST_GROUP(CoreEval);
IMPORT_TEST_GROUP(CoreHashtable);
IMPORT_TEST_GROUP(CoreHdata);
@@ -197,7 +198,7 @@ main (int argc, char *argv[])
}
/* clean WeeChat home */
util_exec_on_files (WEECHAT_TESTS_HOME, 1, 1, &exec_on_files_cb, NULL);
dir_exec_on_files (WEECHAT_TESTS_HOME, 1, 1, &exec_on_files_cb, NULL);
/* build arguments for WeeChat */
weechat_tests_args = getenv ("WEECHAT_TESTS_ARGS");