Skip to content

Commit

Permalink
gnat_compare: spawn gprbuild in build only mode
Browse files Browse the repository at this point in the history
Pass the `-c` switch to gprbuild when spawning it.
  • Loading branch information
thvnx committed Feb 9, 2024
1 parent 86751b6 commit 5324b35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testsuite/ada/gnat_compare/gnat_compare.adb
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ procedure GNAT_Compare is
Put_Line ("Could not locate gprbuild on the PATH");
end if;

Args.Append (+"-c");
Args.Append (+"-q");
Args.Append (+"-p");
Args.Append (+"-P" & Project_File);
Expand Down

0 comments on commit 5324b35

Please sign in to comment.