R525-028 call gnatprove 2018 with --checks-as-errors

Otherwise it reports success even when there are check errors.
This commit is contained in:
Nicolas Setton
2018-06-02 13:28:23 -04:00
parent 41f88d850b
commit faef8ee40f

View File

@@ -124,7 +124,7 @@ def check_program(request):
tempd = prep_example_directory(e, received_json)
# Run the command(s) to check the program
command = ["gnatprove", "-P", "main"]
command = ["gnatprove", "-P", "main", "--checks-as-errors"]
try:
p = process_handling.SeparateProcess([command], tempd)