File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
tests/gnatcheck/implicit_project_spawn Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -417,6 +417,9 @@ def output_refiners(self) -> list[OutputRefiner]:
417417 result .append (Substitute (self .working_dir (), "<working-dir>" ))
418418 if self .test_env .get ("canonicalize_backslashes" , True ):
419419 result .append (Substitute ("\\ " , "/" ))
420+ if self .test_env .get ("canonicalize_target" , False ):
421+ result .append (Substitute ("x86_64-linux" , "<target>" ))
422+ result .append (Substitute ("x86_64-windows" , "<target>" ))
420423 return result
421424
422425 def parse_flagged_lines (self , output : str ) -> dict [str , TaggedLines ]:
Original file line number Diff line number Diff line change 1- <gnatcheck_worker_exe> -P<working-dir>/p.gpr --target=x86_64-linux -d --log-file=<working-dir>/gnatcheck-log1.TMP --files-from=<working-dir>/gnatcheck-files1.TMP --rules-from=<working-dir>/gnatcheck-rules0.TMP
1+ <gnatcheck_worker_exe> -P<working-dir>/p.gpr --target=<target> -d --log-file=<working-dir>/gnatcheck-log1.TMP --files-from=<working-dir>/gnatcheck-files1.TMP --rules-from=<working-dir>/gnatcheck-rules0.TMP
Original file line number Diff line number Diff line change 55 - +Rsame_instantiations
66extra_args :
77 - -d
8+ canonicalize_target : true
You can’t perform that action at this time.
0 commit comments