commit | 7efd6f3cc1285a725acc01cc42edf647c871f1da | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Wed Jun 22 10:42:56 2022 +0800 |
committer | George Liu <liuxiwei@inspur.com> | Thu Jun 23 15:20:13 2022 +0800 |
tree | d6cdb15d2956dd650af3b63130b587d54244f3a6 | |
parent | c0fd1f8a08ea141158b717fcc8960a59da297daf [diff] [blame] |
meson: Add test meson build Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I38eba97894865909d793ed38330c47acb2f81a8e
diff --git a/src/meson.build b/src/meson.build index 54e39f9..6a03a3e 100644 --- a/src/meson.build +++ b/src/meson.build
@@ -59,3 +59,8 @@ install: true, install_dir: get_option('bindir'), ) + +build_tests = get_option('tests') +if not build_tests.disabled() + subdir('test') +endif