(self)
| 47 | 'current_cpu != "x86"') |
| 48 | |
| 49 | def test_comparison_ops(self): |
| 50 | OPS = { |
| 51 | '<': 'LESS', |
| 52 | '<=': 'LESS_EQUAL', |
| 53 | '>': 'GREATER', |
| 54 | '>=': 'GREATER_EQUAL', |
| 55 | } |
| 56 | for gn_op, cmake_op in OPS.items(): |
| 57 | self._CompileExpressionAndCheck( |
| 58 | f'"${{GCC_VERSION}}" {cmake_op} 40802', |
| 59 | f'gcc_version {gn_op} 40802') |
| 60 | |
| 61 | def test_parenthesized_expressions(self): |
| 62 | self._CompileExpressionAndCheck( |
nothing calls this directly
no test coverage detected