[−][src]Module lrl_test_compiler::environment
Modules
| calibration | The calibration of sensor values. |
| config | The configuration files. |
| drivers |
Structs
| Environment | Represents the contextual information for interpretting a test descriptor file. This is really just a wrapper around Config with an in memory cache of all the calibration tables needed. |
Functions
| collect_calibration_tables | Combine the config file base path with the realtive paths of the calibration tables it references and then read in all of the calibration tables into a relative-path keyed cache. |
| collect_paths | Iterate through a config and collect all of the PathBufs it includes to reference calibration tables. |
| read_environment | Reads in an entire environment from the file system using the path to a config file. All calibration tables are referenced using relative paths from the config files location, so we are able to fetch all of this at once. |
| validate_driver_args | Compare the given arguments with the required driver fields. If any arguments are not provided or any undefined arguments are provided, return a failed CompilerResult. |
| validate_drivers | Iterate through the environment and ensure all virtual relay or sensor drivers are used correctly in config.toml |