re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-06-29 17:47:07 +02:00
parent f2d9e8e6ed
commit 32451f47e3
4 changed files with 38 additions and 1 deletions

10
.gitignore vendored
View File

@ -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

View File

13
tests/runtest.sh Executable file
View File

@ -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

16
tests/tests.yml Normal file
View File

@ -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