[glib: 6/10] tests: Move two tests from GIO uninstalled helpers to test cases list



commit 5422838e8d32b39e364f3e1d606a72a98bc1c184
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Jul 6 14:58:25 2018 +0100

    tests: Move two tests from GIO uninstalled helpers to test cases list
    
    These are built and run as tests in the autotools build, and use GTest.
    They are tests.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 gio/tests/meson.build | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
index 2343f601e..130a51d03 100644
--- a/gio/tests/meson.build
+++ b/gio/tests/meson.build
@@ -64,6 +64,8 @@ gio_tests = [
   'glistmodel',
   'testfilemonitor',
   'thumbnail-verification',
+  'tls-certificate',
+  'tls-interaction',
 ]
 slow_tests = [
   'actions',
@@ -303,6 +305,8 @@ foreach test_name : gio_tests
     # This is peer to peer so it doesn't need a session bus, so we can run
     # it automatically as a test by default
     extra_deps = [libgdbus_example_objectmanager_dep]
+  elif test_name == 'tls-certificate' or test_name == 'tls-interaction'
+    srcs += ['gtesttlsbackend.c']
   endif
   exe = executable(test_name, srcs,
       install : false,
@@ -343,8 +347,6 @@ uninstalled_test_extra_programs = [
   ['send-data'],
   ['socket-server'],
   ['socket-client', ['gtlsconsoleinteraction.c']],
-  ['tls-certificate', ['gtesttlsbackend.c']],
-  ['tls-interaction', ['gtesttlsbackend.c']],
   # These three are manual-run tests because they need a session bus but don't bring one up themselves
   # FIXME: these build but don't seem to work!
   ['gdbus-example-objectmanager-client', [], [libgdbus_example_objectmanager_dep]],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]