Remove Legacy code from P10 and future code
Remove Occ control code that supports older hardware models P8 and P9.
This is in preparation for occ control taking over occ poll handling.
Change-Id: Iff99ac8ff3a3fe6e9a6af994b20b06793ead50fc
Signed-off-by: Sheldon Bailey <baileysh@us.ibm.com>
diff --git a/test/meson.build b/test/meson.build
index f54bbcc..d9cc977 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -29,26 +29,14 @@
'../occ_presence.cpp',
'../occ_command.cpp',
'../occ_dbus.cpp',
+ '../pldm.cpp',
'../powercap.cpp',
- '../i2c_occ.cpp',
+ '../powermode.cpp',
'../utils.cpp',
occ_sensor_hpp,
]
-if get_option('with-host-communication-protocol') == 'pldm'
- test_sources += ['../pldm.cpp']
-endif
-
-if get_option('power10-support').allowed()
- test_sources += ['../powermode.cpp']
-endif
-
-tests = [
- 'error_files_tests.cpp',
- 'occ_dbus_test.cpp',
- 'TestI2cOcc.cpp',
- 'utest.cpp',
-]
+tests = ['error_files_tests.cpp', 'occ_dbus_test.cpp', 'utest.cpp']
pthread_dep = dependency('threads')