You've already forked code_examples_server
mirror of
https://github.com/AdaCore/code_examples_server.git
synced 2026-02-12 12:45:18 -08:00
R525-028 call gnatprove 2018 with --checks-as-errors
Otherwise it reports success even when there are check errors.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user