Skip to content

Conversation

@pgn69
Copy link
Owner

@pgn69 pgn69 commented Dec 20, 2024

No description provided.

DanielT and others added 14 commits December 15, 2024 19:04
Passing commandline parameters to the core as an argument instead of directly
reading from std::env::args allows unit tests to provide fake values.
Now most of the features of the program can be tested automatically.
If limits are calculated for f64 data that uses a RAT_FUNC compu method,
then the ration function will be applied to the input values f64::MIN
and f64::MAX. In this situation it is essential to divide first and then multiply.
Even then the result can be +/-INF, so a safety check has been added.
The new option '--pdbfile' can be used instead of '--elffile' in order to
read address and data type information from a PDB file.
This supports the "virtual ECU" use case, where some parts of a microcontroller
application are built on Windows and run inside a simulation environment.
1) test input (fixtures) should be located under fixtures/, while tests/ should be used for test code
2) The source code of the debugdata_* files was added.
3) Added a readme giving brief descriptions of the test binaries, and how they were built.
@pgn69 pgn69 merged commit b228720 into master_caltool Dec 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants