lenaRB / crml-compiler

Implementation of the CRML to Modelica compiler supported by the ITEA3 EMBRACE project.
6 stars 7 forks source link

Handling of packages for tests #86

Open lenaRB opened 1 month ago

lenaRB commented 1 month ago

I can now generate the package.mo, so that is fine. However if we make everything part of a single package, it means we cannot load single files separately. Also if a file has an issue, none the files of the package will load which might make incremental debugging difficult. Of course once everything is working, checking the results will probably be smoother as you load just 1 package.

Thoughts?

@adrpo @audrey-jardin

lenaRB commented 1 month ago

I have now updated the code to generate a package/ test case, we can re-discuss as necessary

audrey-jardin commented 4 weeks ago

@lenaRB : there is something unclear to me. Are generating the package only when running the entire test-suite or each time we compile a separate crml model which includes external variables? I'm not finding such package anywhere...but I probably misunderstood something.