1phosphor_regulators_tests_include_directories = include_directories( 2 '.', 3 'actions' 4) 5 6phosphor_regulators_tests_source_files = [ 7 'device_tests.cpp', 8 'id_map_tests.cpp', 9 'rail_tests.cpp', 10 'rule_tests.cpp', 11 12 'actions/action_environment_tests.cpp', 13 'actions/action_utils_tests.cpp', 14 'actions/and_action_tests.cpp', 15 'actions/if_action_tests.cpp', 16 'actions/not_action_tests.cpp', 17 'actions/or_action_tests.cpp', 18 'actions/run_rule_action_tests.cpp', 19 'actions/set_device_action_tests.cpp' 20] 21 22test('phosphor-regulators-tests', 23 executable('phosphor-regulators-tests', 24 phosphor_regulators_tests_source_files, 25 dependencies: [ 26 gmock, 27 gtest, 28 ], 29 link_with: phosphor_regulators_library, 30 implicit_include_directories: false, 31 include_directories: [ 32 phosphor_regulators_include_directories, 33 phosphor_regulators_tests_include_directories 34 ] 35 ) 36) 37