summaryrefslogtreecommitdiff
path: root/test cases/unit
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-04-20 23:02:03 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-04-23 09:10:47 +0200
commit75b7a856cd7a5fc8af697584aec453c82c7c923d (patch)
tree7d1563770c95e6dc75fb21f4715053a26d98c067 /test cases/unit
parentfeff2630ae151f4a89f12f5b19babce605e64d58 (diff)
downloadmeson-75b7a856cd7a5fc8af697584aec453c82c7c923d.tar.gz
ast: support elementary object methods
Diffstat (limited to 'test cases/unit')
-rw-r--r--test cases/unit/55 introspection/meson.build5
1 files changed, 2 insertions, 3 deletions
diff --git a/test cases/unit/55 introspection/meson.build b/test cases/unit/55 introspection/meson.build
index 5dd1b33d7..7ee11a81f 100644
--- a/test cases/unit/55 introspection/meson.build
+++ b/test cases/unit/55 introspection/meson.build
@@ -21,12 +21,11 @@ subdir('sharedlib')
subdir('staticlib')
var1 = '1'
-var2 = '2'
+var2 = 2.to_string()
var3 = 'test3'
t1 = executable('test' + var1, ['t1.cpp'], link_with: [sharedlib], install: true, build_by_default: get_option('test_opt2'))
-#t2 = executable('test@0@'.format('' + '@0@'.format(var2)), 't2.cpp', link_with: [staticlib])
-t2 = executable('test2', 't2.cpp', link_with: [staticlib])
+t2 = executable('test@0@'.format('@0@'.format(var2)), 't2.cpp', link_with: [staticlib])
t3 = executable(var3, 't3.cpp', link_with: [sharedlib, staticlib], dependencies: [dep1])
test('test case 1', t1)