meson.build (a92d0e6b6774470a8294e79ae0e7460269871f71) meson.build (15d4d21c091cd57a0e25888a8d360ba3a32965ff)
1gtest = dependency('gtest', main: true, disabler: true, required: get_option('tests'))
2gmock = dependency('gmock', disabler: true, required: get_option('tests'))
3
4tests_pre = declare_dependency(
5 dependencies: [sys_dep, gtest, gmock])
6
7tests_lib = static_library(
8 'common',

--- 16 unchanged lines hidden (view full) ---

25 'handler',
26 'machine',
27 'pcie',
28 'poweroff',
29 'psu',
30 'pcie_bifurcation',
31 'bmc_mode',
32 'linux_boot_done',
1gtest = dependency('gtest', main: true, disabler: true, required: get_option('tests'))
2gmock = dependency('gmock', disabler: true, required: get_option('tests'))
3
4tests_pre = declare_dependency(
5 dependencies: [sys_dep, gtest, gmock])
6
7tests_lib = static_library(
8 'common',

--- 16 unchanged lines hidden (view full) ---

25 'handler',
26 'machine',
27 'pcie',
28 'poweroff',
29 'psu',
30 'pcie_bifurcation',
31 'bmc_mode',
32 'linux_boot_done',
33 'bm_mode_transition',
33]
34
35foreach t : tests
36 test(
37 t,
38 executable(
39 t.underscorify(),
40 t + '_unittest.cpp',
41 implicit_include_directories: false,
42 dependencies: tests_dep))
43endforeach
34]
35
36foreach t : tests
37 test(
38 t,
39 executable(
40 t.underscorify(),
41 t + '_unittest.cpp',
42 implicit_include_directories: false,
43 dependencies: tests_dep))
44endforeach