pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/ada-xmlada-25



Module Name:    pkgsrc
Committed By:   dkazankov
Date:           Mon Sep 22 09:52:13 UTC 2025

Modified Files:
        pkgsrc/textproc/ada-xmlada-25: Makefile distinfo
Added Files:
        pkgsrc/textproc/ada-xmlada-25/patches: patch-tests_Makefile
            patch-tests_base64_base64__test.gpr
            patch-tests_dom_conformance_conformance.gpr
            patch-tests_dom_dom__test.gpr patch-tests_sax_sax__test.gpr
            patch-tests_schema_multiple__xsd_default.gpr
            patch-tests_schema_schema__test.gpr
            patch-tests_unicode_unicode__test.gpr

Log Message:
ada-xmlada-25: make it possible to run tests


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/ada-xmlada-25/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/ada-xmlada-25/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_Makefile \
    pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_base64_base64__test.gpr \
    pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_dom_conformance_conformance.gpr \
    pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_dom_dom__test.gpr \
    pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_sax_sax__test.gpr \
    pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_schema_multiple__xsd_default.gpr \
    pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_schema_schema__test.gpr \
    pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_unicode_unicode__test.gpr

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/ada-xmlada-25/Makefile
diff -u pkgsrc/textproc/ada-xmlada-25/Makefile:1.2 pkgsrc/textproc/ada-xmlada-25/Makefile:1.3
--- pkgsrc/textproc/ada-xmlada-25/Makefile:1.2  Thu Sep  4 08:20:02 2025
+++ pkgsrc/textproc/ada-xmlada-25/Makefile      Mon Sep 22 09:52:12 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2025/09/04 08:20:02 dkazankov Exp $
+# $NetBSD: Makefile,v 1.3 2025/09/22 09:52:12 dkazankov Exp $
 
 DISTNAME=      ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
 PKGNAME=       ${GITHUB_PROJECT}-${GNAT_NAME}-25.0.0
@@ -42,6 +42,8 @@ CONFIGURE_ARGS+=              --enable-shared
 CONFIGURE_ARGS+=               --disable-shared
 .endif
 
+TEST_TARGET=           test run_test
+
 GENERATE_PLIST+= \
        cd ${DESTDIR}${PREFIX} && \
        ${FIND} ${GNAT_PKGBASE} \( -type f -or -type l \) -print | ${SORT};

Index: pkgsrc/textproc/ada-xmlada-25/distinfo
diff -u pkgsrc/textproc/ada-xmlada-25/distinfo:1.1 pkgsrc/textproc/ada-xmlada-25/distinfo:1.2
--- pkgsrc/textproc/ada-xmlada-25/distinfo:1.1  Thu Jul 10 16:55:09 2025
+++ pkgsrc/textproc/ada-xmlada-25/distinfo      Mon Sep 22 09:52:12 2025
@@ -1,6 +1,14 @@
-$NetBSD: distinfo,v 1.1 2025/07/10 16:55:09 dkazankov Exp $
+$NetBSD: distinfo,v 1.2 2025/09/22 09:52:12 dkazankov Exp $
 
 BLAKE2s (xmlada-25.0.0.tar.gz) = c7e2b06977998dadbde002a6b80a75d3921860f20946c02a983a2048ade6e987
 SHA512 (xmlada-25.0.0.tar.gz) = c57db78e3afd20862c3275d3d0874ada1748e98df06a76841cb3dca3686b29c7693835a591ca5789dca2d3d6ba9677c9082df94857e180e0758a5b77fafc40c0
 Size (xmlada-25.0.0.tar.gz) = 1082553 bytes
 SHA1 (patch-configure) = abb1e41b3b5bb7ec67a9cf06a353926334623d67
+SHA1 (patch-tests_Makefile) = 8a83555e04e2ad9b10f3abcf7519f04818e48717
+SHA1 (patch-tests_base64_base64__test.gpr) = 83310405f14e3a2754865aea3cb5ef4255dda6a5
+SHA1 (patch-tests_dom_conformance_conformance.gpr) = 0ab1fddb44076a5421630a94cd744208684f302e
+SHA1 (patch-tests_dom_dom__test.gpr) = 9c564f1453654e1ce64bd20bbf7cbbb76d25513d
+SHA1 (patch-tests_sax_sax__test.gpr) = 17ef2c91571e0fdaff6aa4d85be8fb017a82d1ff
+SHA1 (patch-tests_schema_multiple__xsd_default.gpr) = 5244c0046f72650f749afcedf47330bc2eea726d
+SHA1 (patch-tests_schema_schema__test.gpr) = 606aba4f67aa301951825d105f876dad0abc4f79
+SHA1 (patch-tests_unicode_unicode__test.gpr) = 25a3dfae0165f03d7584ca936403db685a5b80d9

Added files:

Index: pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_Makefile
diff -u /dev/null pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_Makefile:1.1
--- /dev/null   Mon Sep 22 09:52:13 2025
+++ pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_Makefile  Mon Sep 22 09:52:12 2025
@@ -0,0 +1,42 @@
+$NetBSD: patch-tests_Makefile,v 1.1 2025/09/22 09:52:12 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
Index: pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_base64_base64__test.gpr
diff -u /dev/null pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_base64_base64__test.gpr:1.1
--- /dev/null   Mon Sep 22 09:52:13 2025
+++ pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_base64_base64__test.gpr   Mon Sep 22 09:52:13 2025
@@ -0,0 +1,13 @@
+$NetBSD: patch-tests_base64_base64__test.gpr,v 1.1 2025/09/22 09:52:13 dkazankov Exp $
+
+Fix project path
+
+--- tests/base64/base64_test.gpr.orig  2025-09-22 11:38:11.910294688 +0300
++++ tests/base64/base64_test.gpr
+@@ -1,5 +1,5 @@
+ with "../../xmlada_shared";
+-with "xmlada_sax";
++with "../../sax/xmlada_sax";
+ 
+ project Base64_Test is
+    for Main use ("test_base64");
Index: pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_dom_conformance_conformance.gpr
diff -u /dev/null pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_dom_conformance_conformance.gpr:1.1
--- /dev/null   Mon Sep 22 09:52:13 2025
+++ pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_dom_conformance_conformance.gpr   Mon Sep 22 09:52:13 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-tests_dom_conformance_conformance.gpr,v 1.1 2025/09/22 09:52:13 dkazankov Exp $
+
+Fix project path
+
+--- tests/dom/conformance/conformance.gpr.orig 2024-06-20 22:52:10.000000000 +0300
++++ tests/dom/conformance/conformance.gpr
+@@ -1,6 +1,6 @@
+ 
+ with "../../../xmlada_shared";
+-with "xmlada_dom";
++with "../../../dom/xmlada_dom";
+ 
+ project Conformance is
+    for Main use ("dom_conformance");
Index: pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_dom_dom__test.gpr
diff -u /dev/null pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_dom_dom__test.gpr:1.1
--- /dev/null   Mon Sep 22 09:52:13 2025
+++ pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_dom_dom__test.gpr Mon Sep 22 09:52:13 2025
@@ -0,0 +1,13 @@
+$NetBSD: patch-tests_dom_dom__test.gpr,v 1.1 2025/09/22 09:52:13 dkazankov Exp $
+
+Fix project path
+
+--- tests/dom/dom_test.gpr.orig        2024-06-20 22:52:10.000000000 +0300
++++ tests/dom/dom_test.gpr
+@@ -1,5 +1,5 @@
+ with "../../xmlada_shared";
+-with "xmlada_dom";
++with "../../dom/xmlada_dom";
+ with "conformance/conformance";
+ 
+ project Dom_Test is
Index: pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_sax_sax__test.gpr
diff -u /dev/null pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_sax_sax__test.gpr:1.1
--- /dev/null   Mon Sep 22 09:52:13 2025
+++ pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_sax_sax__test.gpr Mon Sep 22 09:52:13 2025
@@ -0,0 +1,13 @@
+$NetBSD: patch-tests_sax_sax__test.gpr,v 1.1 2025/09/22 09:52:13 dkazankov Exp $
+
+Fix project path
+
+--- tests/sax/sax_test.gpr.orig        2024-06-20 22:52:10.000000000 +0300
++++ tests/sax/sax_test.gpr
+@@ -1,5 +1,5 @@
+ with "../../xmlada_shared";
+-with "xmlada_sax";
++with "../../sax/xmlada_sax";
+ project Sax_Test is
+    for Main use ("testsax.adb", "teststate.adb");
+    for Object_Dir use "obj";
Index: pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_schema_multiple__xsd_default.gpr
diff -u /dev/null pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_schema_multiple__xsd_default.gpr:1.1
--- /dev/null   Mon Sep 22 09:52:13 2025
+++ pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_schema_multiple__xsd_default.gpr  Mon Sep 22 09:52:13 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-tests_schema_multiple__xsd_default.gpr,v 1.1 2025/09/22 09:52:13 dkazankov Exp $
+
+Fix project path
+
+--- tests/schema/multiple_xsd/default.gpr.orig 2024-06-20 22:52:10.000000000 +0300
++++ tests/schema/multiple_xsd/default.gpr
+@@ -1,4 +1,7 @@
+-with "xmlada";
++with "../../../xmlada_shared";
++with "../../../sax/xmlada_sax";
++with "../../../schema/xmlada_schema";
++with "../../../input_sources/xmlada_input";
+ project Default is
+    for Main use ("validate.adb");
+    package Binder is
Index: pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_schema_schema__test.gpr
diff -u /dev/null pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_schema_schema__test.gpr:1.1
--- /dev/null   Mon Sep 22 09:52:13 2025
+++ pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_schema_schema__test.gpr   Mon Sep 22 09:52:13 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-tests_schema_schema__test.gpr,v 1.1 2025/09/22 09:52:13 dkazankov Exp $
+
+Fix project path
+
+--- tests/schema/schema_test.gpr.orig  2024-06-20 22:52:10.000000000 +0300
++++ tests/schema/schema_test.gpr
+@@ -1,6 +1,6 @@
+ with "../../xmlada_shared";
+-with "xmlada_schema";
+-with "xmlada_input";
++with "../../schema/xmlada_schema";
++with "../../input_sources/xmlada_input";
+ 
+ project Schema_Test is
+ 
Index: pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_unicode_unicode__test.gpr
diff -u /dev/null pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_unicode_unicode__test.gpr:1.1
--- /dev/null   Mon Sep 22 09:52:13 2025
+++ pkgsrc/textproc/ada-xmlada-25/patches/patch-tests_unicode_unicode__test.gpr Mon Sep 22 09:52:13 2025
@@ -0,0 +1,13 @@
+$NetBSD: patch-tests_unicode_unicode__test.gpr,v 1.1 2025/09/22 09:52:13 dkazankov Exp $
+
+Fix project path
+
+--- tests/unicode/unicode_test.gpr.orig        2024-06-20 22:52:10.000000000 +0300
++++ tests/unicode/unicode_test.gpr
+@@ -1,5 +1,5 @@
+ with "../../xmlada_shared";
+-with "xmlada_unicode";
++with "../../unicode/xmlada_unicode";
+ 
+ project Unicode_Test is
+    for Main use ("test_unicode");



Home | Main Index | Thread Index | Old Index