Skip to content

Commit

Permalink
more improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
lidaobing committed Jul 7, 2024
1 parent 31801ce commit 7a228f8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 6 additions & 3 deletions src/iptux-core/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ else
description: 'Communicate and Share File in LAN',
name: 'iptux-core',
version: so_version,
requires: ['jsoncpp >= 1.0', 'glib-2.0 >= 2.35', 'sigc++-2.0'],
requires_private: ['libglog', 'gflags'],
requires: [jsoncpp_dep, glib_dep, sigc_dep, thread_dep],
requires_private: [glog_dep, gflags_dep],
libraries: [libiptux_core, glog_dep],
)
endif
Expand Down Expand Up @@ -90,4 +90,7 @@ libiptux_core_test = executable('libiptux_core_test',
link_with: [libiptux_core, libgtest, libiptux_core_test_helper],
include_directories: [inc, gtest_inc]
)
test('iptux core unit test', libiptux_core_test, is_parallel : false)
test('core', libiptux_core_test,
is_parallel : false,
protocol: 'gtest',
)
4 changes: 3 additions & 1 deletion src/iptux-utils/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ libiptux_utils_test = executable('libiptux_utils_test',
link_with: [libiptux_utils, libgtest, libiptux_utils_test_helper],
include_directories: [inc, gtest_inc]
)
test('iptux utils unit test', libiptux_utils_test)
test('utils', libiptux_utils_test,
protocol: 'gtest',
)
2 changes: 1 addition & 1 deletion src/iptux/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ libiptux_test = executable('libiptux_test',
link_with: [libiptux, libgtest,libiptux_core_test_helper],
include_directories: [inc, gtest_inc]
)
test('iptux ui unit test', libiptux_test, is_parallel : false)
test('gui', libiptux_test, is_parallel : false, protocol: 'gtest')

0 comments on commit 7a228f8

Please sign in to comment.