Repository navigation
New reference files for examples with missing references - #4874
MatthiasBSchaefer merged 1 commit into
Conversation
…OpAmps/MeasureRiseTime Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization Modelica/Math/Nonlinear/Examples/MovingIntegral and ModelicaTest/Math/TestErf which are missing in master branch
|
Failure: Some checks of the regression testing failed. |
|
Since there was no change in any .mo-file, the regression testing tested all examples. |
Given the limited resources for regression testing it seems sub-optimal that all examples are re-run if there are no changes in any .mo-file. (I could understand re-running a lot if there are changes in C-code, but not if there are neither changes in C-code nor in Modelica-code.) Just adding a note "Regression test not run since no change of code" might suffice. But, it also seems to indicate another issue: if there had been one example model changed together with these updated reference results, would that only had run the updated example model and not the models with new/updated reference results? For the future, as I understand it we will not have examples without references so at least this specific case will be rare - so I tried to think of other cases where no Modelica code was changed, and to me the relevant cases are:
I don't think all of that is urgent, but just want to have an overview. |
HansOlsson
left a comment
There was a problem hiding this comment.
Seems good. As far as I can see those examples are now Ok.
Thanks for the feedback. |
The following examples currently do not have reference files:
Modelica/Electrical/Analog/Examples/OpAmps/MeasureRiseTime
Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization
Modelica/Math/Nonlinear/Examples/MovingIntegral
ModelicaTest/Math/TestErf
This PR fixes that