(self)
| 153 | return (None, True) |
| 154 | |
| 155 | def writeFlagDefinitions(self): |
| 156 | for name, stages in self.pipeline_stage_equivalent.items(): |
| 157 | output = [] |
| 158 | for stage in stages: |
| 159 | (condition, result) = self.evaluatePipelineIfdef(stage) |
| 160 | if result: |
| 161 | output.append(f' ** ename:{stage}') |
| 162 | else: |
| 163 | output.append(f'// {condition} -> {result}, not emitting ** ename:{stage}') |
| 164 | |
| 165 | self.writeBlock(f'flagDefinitions/{name}{self.file_suffix}', output) |
| 166 | |
| 167 | for name, flags in self.access_flag_equivalent.items(): |
| 168 | output = [] |
| 169 | for flag in flags: |
| 170 | (condition, result) = self.evaluateAccessIfdef(flag) |
| 171 | if result: |
| 172 | output.append(f' ** ename:{flag}') |
| 173 | else: |
| 174 | output.append(f'// {condition} -> {result}, not emitting ** ename:{flag}') |
| 175 | |
| 176 | self.writeBlock(f'flagDefinitions/{name}{self.file_suffix}', output) |
| 177 | |
| 178 | def supportedPipelineStages(self): |
| 179 | output = [] |
no test coverage detected