[libsoup/wip/meson] Test utility library in named liblibtest



commit 98e2374b5e6525c39865a7f7442250228220ab9f
Author: Tomas Popela <tpopela redhat com>
Date:   Mon Nov 13 10:00:07 2017 +0100

    Test utility library in named liblibtest
    
    Don't use liblibtest, but libtest-utils as we can't use libtest as in
    autotools port as we can't use the test keyword for library() target
    (it's an internal Meson keyword)

 tests/meson.build |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 3a96b0b..3114143 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,4 +1,4 @@
-libtest = library('libtest', 'test-utils.c', 'test-utils.h',
+test_utils = library('test-utils', 'test-utils.c', 'test-utils.h',
   install : false,
   c_args : '-DAPACHE_HTTPD=' + cdata.get('APACHE_HTTPD'),
   dependencies : [glib_dep, libsoup_dep])
@@ -45,7 +45,7 @@ tests = [
 
 foreach test: tests
     auth_test = executable('@0@-test'.format(test), '@0@-test.c'.format(test),
-      link_with: libtest,
+      link_with: test_utils,
       dependencies : [glib_dep, libsoup_dep])
 endforeach
 


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