head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2025.09.22.09.52.12; author dkazankov; state Exp; branches; next ; commitid jJLLWOlSIrNF3HbG; desc @@ 1.1 log @ada-xmlada-25: make it possible to run tests @ text @$NetBSD: patch-configure,v 1.1 2025/07/10 16:55:09 dkazankov Exp $ Add options for gprbuild --- tests/Makefile.orig 2024-06-20 22:52:10.000000000 +0300 +++ tests/Makefile @@@@ -81,7 +81,7 @@@@ test_multiple_xsd: @@echo "multiple xsd" @@cd schema/multiple_xsd; \ - gprbuild -q -Pdefault.gpr; \ + gprbuild -q -Pdefault.gpr $(GPRBUILD_OPTIONS); \ ./validate > $(RESULTS)/multiple_xsd.out; \ cp $(RESULTS)/multiple_xsd.out $(RESULTS)/multiple_xsd.diff; \ cat $(RESULTS)/multiple_xsd.diff @@@@ -89,7 +89,7 @@@@ test_examples_dom: @@echo "test examples dom" @@cd ../docs/dom; \ - gprbuild -q -p -Pdefault.gpr 2> $(RESULTS)/domexample.out; \ + gprbuild -q -p -Pdefault.gpr 2> $(RESULTS)/domexample.out $(GPRBUILD_OPTIONS); \ ./domexample >> $(RESULTS)/domexample.out; \ cp $(RESULTS)/domexample.out $(RESULTS)/domexample.diff; \ cat $(RESULTS)/domexample.diff; \ @@@@ -104,7 +104,7 @@@@ test_examples_sax: @@echo "test examples sax" @@cd ../docs/sax; \ - gprbuild -q -p -Pdefault.gpr 2> $(RESULTS)/saxexample_main.out; \ + gprbuild -q -p -Pdefault.gpr 2> $(RESULTS)/saxexample_main.out $(GPRBUILD_OPTIONS); \ ./saxexample_main >> $(RESULTS)/saxexample_main.out; \ diff -b $(EXAMPLE_EXPECTED)/saxexample_main.expected $(RESULTS)/saxexample_main.out > $(RESULTS)/saxexample_main.diff; \ if test -s $(RESULTS)/saxexample_main.diff; then \ @@@@ -114,7 +114,7 @@@@ test_examples_schema: @@echo "test examples schema" @@cd ../docs/schema; \ - gprbuild -q -p -Pdefault.gpr 2> $(RESULTS)/schemaexample.out; \ + gprbuild -q -p -Pdefault.gpr 2> $(RESULTS)/schemaexample.out $(GPRBUILD_OPTIONS); \ ./schemaexample >> $(RESULTS)/schemaexample.out; \ cp $(RESULTS)/schemaexample.out $(RESULTS)/schemaexample.diff; \ cat $(RESULTS)/schemaexample.diff @