blob: cbe1f5d4240213337f7057bad2a804bfe41f45de [file] [log] [blame]
Brad Bishop59061732019-10-07 15:48:37 -04001average_unittest = executable(
2 'average_unittest',
3 'average_unittest.cpp',
4 dependencies: [
5 gmock,
6 gtest,
7 ],
8 include_directories: '..',
9 link_with: [
10 libaverage,
11 ],
12)
13
14env_unittest = executable(
15 'env_unittest',
16 'env_unittest.cpp',
17 dependencies: [
18 gmock,
19 gtest,
20 ],
21 include_directories: '..',
22)
23
24fanpwm_unittest = executable(
25 'fanpwm_unittest',
26 'fanpwm_unittest.cpp',
27 dependencies: [
28 gmock,
29 gtest,
30 phosphor_logging,
Matt Spinler5e034af2020-06-24 15:21:53 -050031 fmt,
Brad Bishop59061732019-10-07 15:48:37 -040032 ],
33 include_directories: '..',
34 link_with: [
35 libfan_pwm,
36 ],
37)
38
39hwmon_unittest = executable(
40 'hwmon_unittest',
41 'hwmon_unittest.cpp',
42 dependencies: [
43 gmock,
44 gtest,
Matt Spinler5e034af2020-06-24 15:21:53 -050045 fmt,
Brad Bishop59061732019-10-07 15:48:37 -040046 ],
47 include_directories: '..',
48 link_with: [
49 libhwmon,
50 ],
51)
52
53hwmonio_default_unittest = executable(
54 'hwmonio_default_unittest',
55 'hwmonio_default_unittest.cpp',
56 dependencies: [
57 gtest,
58 gmock,
Matt Spinler5e034af2020-06-24 15:21:53 -050059 fmt,
Brad Bishop59061732019-10-07 15:48:37 -040060 ],
61 include_directories: '..',
62 link_with: [
63 libhwmonio,
64 ],
65)
66
67sensor_unittest = executable(
68 'sensor_unittest',
69 'gpio.cpp',
70 'sensor_unittest.cpp',
71 dependencies: [
72 gtest,
73 gmock,
Matt Spinler5e034af2020-06-24 15:21:53 -050074 fmt,
Brad Bishop59061732019-10-07 15:48:37 -040075 ],
76 include_directories: '..',
77 link_with: [
78 libsensor,
79 ],
80)