Brad Bishop | 5906173 | 2019-10-07 15:48:37 -0400 | [diff] [blame] | 1 | average_unittest = executable( |
| 2 | 'average_unittest', |
| 3 | 'average_unittest.cpp', |
| 4 | dependencies: [ |
| 5 | gmock, |
| 6 | gtest, |
William A. Kennington III | f9aff80 | 2021-05-05 12:06:24 -0700 | [diff] [blame^] | 7 | hwmon_dep, |
Brad Bishop | 5906173 | 2019-10-07 15:48:37 -0400 | [diff] [blame] | 8 | ], |
| 9 | ) |
| 10 | |
| 11 | env_unittest = executable( |
| 12 | 'env_unittest', |
| 13 | 'env_unittest.cpp', |
| 14 | dependencies: [ |
| 15 | gmock, |
| 16 | gtest, |
William A. Kennington III | f9aff80 | 2021-05-05 12:06:24 -0700 | [diff] [blame^] | 17 | hwmon_dep, |
Brad Bishop | 5906173 | 2019-10-07 15:48:37 -0400 | [diff] [blame] | 18 | ], |
Brad Bishop | 5906173 | 2019-10-07 15:48:37 -0400 | [diff] [blame] | 19 | ) |
| 20 | |
| 21 | fanpwm_unittest = executable( |
| 22 | 'fanpwm_unittest', |
| 23 | 'fanpwm_unittest.cpp', |
| 24 | dependencies: [ |
| 25 | gmock, |
| 26 | gtest, |
William A. Kennington III | f9aff80 | 2021-05-05 12:06:24 -0700 | [diff] [blame^] | 27 | hwmon_dep, |
Brad Bishop | 5906173 | 2019-10-07 15:48:37 -0400 | [diff] [blame] | 28 | ], |
| 29 | ) |
| 30 | |
| 31 | hwmon_unittest = executable( |
| 32 | 'hwmon_unittest', |
| 33 | 'hwmon_unittest.cpp', |
| 34 | dependencies: [ |
| 35 | gmock, |
| 36 | gtest, |
William A. Kennington III | f9aff80 | 2021-05-05 12:06:24 -0700 | [diff] [blame^] | 37 | hwmon_dep, |
Brad Bishop | 5906173 | 2019-10-07 15:48:37 -0400 | [diff] [blame] | 38 | ], |
| 39 | ) |
| 40 | |
| 41 | hwmonio_default_unittest = executable( |
| 42 | 'hwmonio_default_unittest', |
| 43 | 'hwmonio_default_unittest.cpp', |
| 44 | dependencies: [ |
| 45 | gtest, |
| 46 | gmock, |
William A. Kennington III | f9aff80 | 2021-05-05 12:06:24 -0700 | [diff] [blame^] | 47 | hwmon_dep, |
Brad Bishop | 5906173 | 2019-10-07 15:48:37 -0400 | [diff] [blame] | 48 | ], |
| 49 | ) |
| 50 | |
| 51 | sensor_unittest = executable( |
| 52 | 'sensor_unittest', |
| 53 | 'gpio.cpp', |
| 54 | 'sensor_unittest.cpp', |
| 55 | dependencies: [ |
| 56 | gtest, |
| 57 | gmock, |
William A. Kennington III | f9aff80 | 2021-05-05 12:06:24 -0700 | [diff] [blame^] | 58 | hwmon_dep, |
Brad Bishop | 5906173 | 2019-10-07 15:48:37 -0400 | [diff] [blame] | 59 | ], |
| 60 | ) |