re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-10 08:53:00 +02:00
parent 458ae604b0
commit b32e837015
4 changed files with 52 additions and 0 deletions

8
.gitignore vendored
View File

@ -1 +1,9 @@
/ttfautohint-0.97.tar.gz
/ttfautohint-1.00.tar.gz
/ttfautohint-1.1.tar.gz
/ttfautohint-1.2.tar.gz
/ttfautohint-1.3.tar.gz
/ttfautohint-1.5.tar.gz
/ttfautohint-1.6.tar.gz
/ttfautohint-1.7.tar.gz
/ttfautohint-1.8.1.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

18
tests/smoke/runtest.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/bash
# If one of the commands below returns non-zero then exit immediately
set -e
cd ../source
wget https://releases.pagure.org/lohit/lohit-devanagari-2.95.4.tar.gz
tar -xzvf ./lohit-devanagari-2.95.4.tar.gz
cd lohit-devanagari-2.95.4
make ttf
old_size=`stat -c "%s" /usr/share/fonts/lohit-devanagari/Lohit-Devanagari.ttf`
new_size=`stat -c "%s" Lohit-Devanagari.ttf`
if [ $old_size -ne $new_size ]; then
echo "FAILED: ttfautohint generated different ttf file"
else
echo "PASSED: ttfautohint generated same ttf file"
fi

20
tests/tests.yml Normal file
View File

@ -0,0 +1,20 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
tests:
- smoke
required_packages:
- ttfautohint
- make
- fontforge
- lohit-devanagari-fonts
- wget