[gnome-calculator/60-split-out-a-backend-library] Enable tests when ui is disable
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator/60-split-out-a-backend-library] Enable tests when ui is disable
- Date: Wed, 2 Jan 2019 16:19:40 +0000 (UTC)
commit 4a26ad848d71fc2dcc257f9176e446f6e8ef9f6c
Author: Daniel Espinosa <esodan gmail com>
Date: Mon Dec 10 17:16:00 2018 -0600
Enable tests when ui is disable
meson.build | 2 +-
tests/meson.build | 10 ++++------
2 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/meson.build b/meson.build
index 2d1c4fb9..7b510605 100644
--- a/meson.build
+++ b/meson.build
@@ -72,7 +72,7 @@ subdir('data')
subdir('lib')
subdir('src')
subdir('search-provider')
-subdir('tests')
subdir('help')
subdir('po')
endif
+subdir('tests')
diff --git a/tests/meson.build b/tests/meson.build
index 803932be..3ff4af7c 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -3,8 +3,6 @@ gnome_calculator_tests_deps = [
gio,
glib,
gobject,
- gtk,
- gtksourceview,
libmath,
mpc,
mpfr,
@@ -22,7 +20,7 @@ test_equation_sources = [
]
test_equation = executable('test-equation', test_equation_sources,
dependencies: gnome_calculator_tests_deps,
- link_with: [libcalculator, lib, lib_mpfrg],
+ link_with: [lib, lib_mpfrg],
include_directories: gnome_calculator_tests_includes,
)
test('Equation test', test_equation)
@@ -32,7 +30,7 @@ test_number_sources = [
]
test_number = executable('test-number', test_number_sources,
dependencies: gnome_calculator_tests_deps,
- link_with: [libcalculator, lib, lib_mpfrg],
+ link_with: [lib, lib_mpfrg],
include_directories: gnome_calculator_tests_includes,
)
test('Number test', test_number)
@@ -42,7 +40,7 @@ test_serializer_sources = [
]
test_serializer = executable('test-serializer', test_serializer_sources,
dependencies: gnome_calculator_tests_deps,
- link_with: [libcalculator, lib, lib_mpfrg],
+ link_with: [lib, lib_mpfrg],
include_directories: gnome_calculator_tests_includes,
)
-test('Serializer test', test_serializer)
\ No newline at end of file
+test('Serializer test', test_serializer)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]