no output lookup in unit tests

This commit is contained in:
Matthew Kennedy 2023-07-01 21:23:05 -07:00
parent 1c3727442b
commit 62427a21ec
2 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -76,10 +76,12 @@ public class GetOutputValueConsumer implements ConfigurationConsumer {
String fullSwitch = wrapSwitchStatement(switchBody);
return FILE_HEADER +
return "#if !EFI_UNIT_TEST\n" +
FILE_HEADER +
"float getOutputValueByName(const char *name) {\n" +
fullSwitch +
getterBody + GetConfigValueConsumer.GET_METHOD_FOOTER;
getterBody + GetConfigValueConsumer.GET_METHOD_FOOTER +
"#endif\n";
}
@NotNull