Open dorafan opened 3 years ago
Correct me if I misunderstood your question, but I assume that you want to generate code without any actual testing.
In that case, you need to build the project using CMake and use yarpgen
binary after that.
Thanks a lot for the reply!
What do you mean by "doing the test"?
Generated program either (1) prints the hash of all data structures to let external script compare the results from different compilations / executions (2) compares variables with reference values. (3) does both
This is controlled by the following switch:
--asserts=<value> Use asserts in check function (Default: some) Possible values: none, some, all
Could you please help me with more details? I didn't find the argument setting in "run_gen.py" or other scripts
This command line switch is for yarpgen
binary. Looks like your use case is different from the standard one covered by run_gen.py
(which is script around yarpgen
).
What do you mean by "doing the test"?
Generated program either (1) prints the hash of all data structures to let external script compare the results from different compilations / executions (2) compares variables with reference values. (3) does both
This is controlled by the following switch: