From 137d5863e2730297061149431cf7dc0b0c5f29dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 1 Oct 2017 08:00:39 +0200 Subject: [PATCH] tests: run command "/debug libs" in tests instead of Travis CI command --- .travis.yml | 1 - tests/tests.cpp | 9 +++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 69ace6074..f314af50a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,6 @@ script: after_success: - weechat --help - weechat-curses --help - - weechat -r "/debug libs;/quit" matrix: fast_finish: true diff --git a/tests/tests.cpp b/tests/tests.cpp index 76ecb2132..a997e3821 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -173,10 +173,6 @@ main (int argc, char *argv[]) ptr_core_buffer = gui_buffer_search_main (); - /* display WeeChat version and directories */ - input_data (ptr_core_buffer, "/command core version"); - input_data (ptr_core_buffer, "/debug dirs"); - /* auto-load plugins from WEECHAT_EXTRA_LIBDIR if no plugin were loaded */ if (!weechat_plugins) { @@ -187,6 +183,11 @@ main (int argc, char *argv[]) plugin_auto_load (0, NULL, 0, 1, 0); } + /* display WeeChat version and directories */ + input_data (ptr_core_buffer, "/command core version"); + input_data (ptr_core_buffer, "/debug dirs"); + input_data (ptr_core_buffer, "/debug libs"); + /* run all tests */ printf ("\n"); printf (">>>>>>>>>> TESTS >>>>>>>>>>\n");