diff --git a/.gitignore b/.gitignore index af6ddab..3400676 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6985029 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh new file mode 100644 index 0000000..39abf0f --- /dev/null +++ b/tests/smoke/runtest.sh @@ -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 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..4060571 --- /dev/null +++ b/tests/tests.yml @@ -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