gplugin/gplugin

Remove option to disable unit testing.
develop
2017-06-09, Elliott Sales de Andrade
ce727a8da6d1
Parents 9771039fbf02
Children 06217d1664be
Remove option to disable unit testing.

There are no extra dependencies for it and builds are fast enough
using Meson and Ninja that it doesn't really have much benefit to
disable it.
--- a/ChangeLog Fri Jun 09 03:26:14 2017 -0400
+++ b/ChangeLog Fri Jun 09 03:35:55 2017 -0400
@@ -3,6 +3,7 @@
* Added an RPM spec file
* Changed the build system to meson. See INSTALL for instructions.
* Added gplugin_plugin_get_dependent_plugins. (fixes #8)
+ * Remove ability to disable unit testing.
0.27.0: 2016/04/18
* Bumped the glib requirement to 2.34.0
--- a/gplugin/meson.build Fri Jun 09 03:26:14 2017 -0400
+++ b/gplugin/meson.build Fri Jun 09 03:35:55 2017 -0400
@@ -276,6 +276,4 @@
###############################################################################
# subdirectories
###############################################################################
-if get_option('testing')
- subdir('tests')
-endif
+subdir('tests')
--- a/lua/meson.build Fri Jun 09 03:26:14 2017 -0400
+++ b/lua/meson.build Fri Jun 09 03:35:55 2017 -0400
@@ -49,6 +49,4 @@
)
endif # lua
-if get_option('testing')
- subdir('tests')
-endif
+subdir('tests')
--- a/meson.build Fri Jun 09 03:26:14 2017 -0400
+++ b/meson.build Fri Jun 09 03:35:55 2017 -0400
@@ -41,11 +41,6 @@
# we separate gmodule out so our test aren't linked to it
GMODULE = dependency('gmodule-2.0')
-if get_option('testing')
- GTESTER = find_program('gtester')
- XSLTPROC = find_program('xsltproc')
-endif
-
###############################################################################
# NLS
###############################################################################
--- a/meson_options.txt Fri Jun 09 03:26:14 2017 -0400
+++ b/meson_options.txt Fri Jun 09 03:35:55 2017 -0400
@@ -14,12 +14,6 @@
)
option(
- 'testing',
- type : 'boolean', value : true,
- description : 'Whether or not to run unit tests while compiling'
-)
-
-option(
'help2man',
type : 'boolean', value : true,
description : 'Whether or not to build man pages from --help output'
--- a/python/meson.build Fri Jun 09 03:26:14 2017 -0400
+++ b/python/meson.build Fri Jun 09 03:35:55 2017 -0400
@@ -54,6 +54,4 @@
)
endif # python
-if get_option('testing')
- subdir('tests')
-endif
+subdir('tests')
--- a/tcc/meson.build Fri Jun 09 03:26:14 2017 -0400
+++ b/tcc/meson.build Fri Jun 09 03:35:55 2017 -0400
@@ -25,6 +25,4 @@
)
endif # tcc
-if get_option('testing')
- subdir('tests')
-endif
+subdir('tests')