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, |
| 7 | ], |
| 8 | include_directories: '..', |
| 9 | link_with: [ |
| 10 | libaverage, |
| 11 | ], |
| 12 | ) |
| 13 | |
| 14 | env_unittest = executable( |
| 15 | 'env_unittest', |
| 16 | 'env_unittest.cpp', |
| 17 | dependencies: [ |
| 18 | gmock, |
| 19 | gtest, |
| 20 | ], |
| 21 | include_directories: '..', |
| 22 | ) |
| 23 | |
| 24 | fanpwm_unittest = executable( |
| 25 | 'fanpwm_unittest', |
| 26 | 'fanpwm_unittest.cpp', |
| 27 | dependencies: [ |
| 28 | gmock, |
| 29 | gtest, |
| 30 | phosphor_logging, |
| 31 | ], |
| 32 | include_directories: '..', |
| 33 | link_with: [ |
| 34 | libfan_pwm, |
| 35 | ], |
| 36 | ) |
| 37 | |
| 38 | hwmon_unittest = executable( |
| 39 | 'hwmon_unittest', |
| 40 | 'hwmon_unittest.cpp', |
| 41 | dependencies: [ |
| 42 | gmock, |
| 43 | gtest, |
| 44 | ], |
| 45 | include_directories: '..', |
| 46 | link_with: [ |
| 47 | libhwmon, |
| 48 | ], |
| 49 | ) |
| 50 | |
| 51 | hwmonio_default_unittest = executable( |
| 52 | 'hwmonio_default_unittest', |
| 53 | 'hwmonio_default_unittest.cpp', |
| 54 | dependencies: [ |
| 55 | gtest, |
| 56 | gmock, |
| 57 | ], |
| 58 | include_directories: '..', |
| 59 | link_with: [ |
| 60 | libhwmonio, |
| 61 | ], |
| 62 | ) |
| 63 | |
| 64 | sensor_unittest = executable( |
| 65 | 'sensor_unittest', |
| 66 | 'gpio.cpp', |
| 67 | 'sensor_unittest.cpp', |
| 68 | dependencies: [ |
| 69 | gtest, |
| 70 | gmock, |
| 71 | ], |
| 72 | include_directories: '..', |
| 73 | link_with: [ |
| 74 | libsensor, |
| 75 | ], |
| 76 | ) |