unit tests failing to build #632
Replies: 1 comment 3 replies
-
|
Hi Adrian, This is a consequence of the need to be able to set module scope config information for subroutines that are being unit-tested. We have what are called config feigners which set these module scope variables so that the function/subroutine can use them when being unit-tested. In your case as you've added metadata you'll need to update any We hope to get rid of feigners but the work to do so is dependent on removing module use of config, this is a big task as it is very wide spread. Hope that makes sense. Andy |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My PR MetOffice/lfric_apps#504 is adding new namelist parameters to the existing intial_temperature namellst. I've currently broken several build unit_test jobs that are complaining my new namelist variables are missing, eg build_gungho_unit_tests. Looking in the code there's what appears to be a subroutine call with the namelist items of the one I've added to given as subroutine arguments. From which I'm guessing I need to add my new namelist variables? Is that correct? If yes, do I have to do this manually or have I failed to apply the upgrade macro correctly?
Beta Was this translation helpful? Give feedback.
All reactions