From 32451f47e32ae0f1781a0bf7d78e95a17a194834 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 29 Jun 2023 17:47:07 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 10 +++++++++- cldr-emoji-annotation-HEAD.patch | 0 tests/runtest.sh | 13 +++++++++++++ tests/tests.yml | 16 ++++++++++++++++ 4 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 cldr-emoji-annotation-HEAD.patch create mode 100755 tests/runtest.sh create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index 108536c..cf4a8bb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,10 @@ -SOURCES/cldr-release-39.zip +/cldr-emoji-annotation-30.0.3_2.tar.gz +/cldr-emoji-annotation-31.0.0_1.tar.gz +/cldr-emoji-annotation-31.0.1_1.tar.gz +/cldr-emoji-annotation-31.90.0_1.tar.gz +/cldr-emoji-annotation-32.0.0_1.tar.gz +/cldr-emoji-annotation-32.90.0_1.tar.gz +/cldr-emoji-annotation-33.0.0_1.tar.gz +/cldr-emoji-annotation-33.0.0_2.tar.gz +/cldr-emoji-annotation-33.1.0_0.tar.gz /cldr-release-39.zip diff --git a/cldr-emoji-annotation-HEAD.patch b/cldr-emoji-annotation-HEAD.patch new file mode 100644 index 0000000..e69de29 diff --git a/tests/runtest.sh b/tests/runtest.sh new file mode 100755 index 0000000..65ac483 --- /dev/null +++ b/tests/runtest.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +for dir in annotations annotationsDerived; do + for xml in /usr/share/unicode/cldr/common/$dir/*.xml; do + echo xmllint --noout --valid --postvalid $xml + xmllint --noout --valid --postvalid $xml + if [ $? -ne 0 ] ; then + echo "ERROR" + exit 1 + fi + done +done + diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..3b0cccf --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,16 @@ +- hosts: localhost + vars: + - artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}" + tags: + - classic + remote_user: root + roles: + - role: standard-test-basic + required_packages: + - cldr-emoji-annotation + - libxml2 + tests: + - runtest: + dir: . + run: ./runtest.sh +