diff --git a/src/python_testing/TC_SC_4_3.py b/src/python_testing/TC_SC_4_3.py index ed5b7325411c22..e228cb2afe82c0 100644 --- a/src/python_testing/TC_SC_4_3.py +++ b/src/python_testing/TC_SC_4_3.py @@ -145,6 +145,19 @@ def verify_t_value(self, t_value): return True, f"T value ({t_value}) is valid and bit 0 is clear." else: return False, f"Bit 0 is not clear. T value ({t_value})" + + # Check that the value can be either 2, 4 or 6 depending on whether + # DUT is a TCPClient, TCPServer or both. + if self.check_pics("MCORE.SC.TCP"): + if (T_int & 0x04 != 0): + return True, f"T value ({t_value}) represents valid TCP support info." + else: + return False, f"T value ({t_value}) does not have TCP bits set even though the MCORE.SC.TCP PICS indicates it is required." + else: + if (T_int & 0x04 != 0): + return False, f"T value ({t_value}) has the TCP bits set even though the MCORE.SC.TCP PICS is not set." + else: + return True, f"T value ({t_value}) is valid." except ValueError: return False, f"T value ({t_value}) is not a valid integer"