simple-framework / simple_grid_yaml_compiler

Generates the extended YAML output for an input site_level_configuration_file
Apache License 2.0
0 stars 9 forks source link

test functions in semantics.py #26

Open maany opened 5 years ago

kevalnagda commented 5 years ago

Could you please provide any sort of description for the issue. Thanks!

maany commented 5 years ago

Hey, this file contains 1 function, namely, check_yaml_syntax. It is called here: https://github.com/WLCG-Lightweight-Sites/simple_grid_yaml_compiler/blob/master/simple_grid_yaml_compiler.py#L40

It takes output from phase_3 and we want to test if sensible outputs from phase_3 do not break the compiler in phase_4. The specification highlights some of the phases (Pg 20 https://docs.google.com/document/d/1yp_96UXcwNO49cktnHtT61iNmTO0RgrSQukuNYqACpM) You can get the output from phase_3 by running the compiler until then and commenting the remaining phases. Basically until here: https://github.com/WLCG-Lightweight-Sites/simple_grid_yaml_compiler/blob/master/simple_grid_yaml_compiler.py#L124

Let me know if more info is needed. We can discuss this in tomorrow's call if required.