Compare commits
No commits in common. "c8" and "c8s" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/hyphen-2.8.8.tar.gz
|
||||
/hyphen-2.8.8.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
0556c392beb59433e577e3517575801212201df6 SOURCES/hyphen-2.8.8.tar.gz
|
6
gating.yaml
Normal file
6
gating.yaml
Normal 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}
|
17
hyphen-dumplog.patch
Normal file
17
hyphen-dumplog.patch
Normal file
@ -0,0 +1,17 @@
|
||||
--- tests/test.sh 2012-04-12 15:29:53.576994298 +0100
|
||||
+++ tests/test.sh 2012-04-12 15:30:06.447143498 +0100
|
||||
@@ -7,12 +7,14 @@
|
||||
if ! grep -q 'ERROR SUMMARY: 0 error' $log; then
|
||||
echo "Fail in $NAME $1 checking detected by Valgrind"
|
||||
echo "$log Valgrind log file moved to $TEMPDIR/badlogs"
|
||||
+ cat $log
|
||||
mv $log $TEMPDIR/badlogs
|
||||
exit 1
|
||||
fi
|
||||
if grep -q 'LEAK SUMMARY' $log; then
|
||||
echo "Memory leak in $NAME $1 checking detected by Valgrind"
|
||||
echo "$log Valgrind log file moved to $TEMPDIR/badlogs"
|
||||
+ cat $log
|
||||
mv $log $TEMPDIR/badlogs
|
||||
exit 1
|
||||
fi
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (hyphen-2.8.8.tar.gz) = ee514952be56869840b70fb74f60eba14dc4de246733ff8705492367e8cf00c485f8778a9d5a7ba374c988d4ac9fedbe75826dc559e1b62465dbfba21f6ce7de
|
32
tests/scripts/make_check.sh
Executable file
32
tests/scripts/make_check.sh
Executable file
@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
#Developed for hyphen
|
||||
#This script is used to check sanity for hyphen package
|
||||
#Usage : ./make_check.sh
|
||||
#
|
||||
############################################################################
|
||||
|
||||
file_count=13
|
||||
pkg="hyphen"
|
||||
|
||||
check_return_value () {
|
||||
if [ $1 != 0 ] ; then
|
||||
exit $1
|
||||
fi
|
||||
}
|
||||
|
||||
check_files_count(){
|
||||
no_of_files=`rpm -qlv $pkg | wc -l`
|
||||
if [ $no_of_files == $file_count ]
|
||||
then
|
||||
echo "PASS"
|
||||
else
|
||||
echo "FAIL"
|
||||
fi
|
||||
}
|
||||
|
||||
cd ../source
|
||||
autoreconf -i
|
||||
automake --foreign -Wall
|
||||
./configure && make && make check
|
||||
check_files_count
|
24
tests/tests.yml
Normal file
24
tests/tests.yml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tests:
|
||||
- make-check:
|
||||
dir: scripts
|
||||
run: bash ./make_check.sh
|
||||
required_packages:
|
||||
- autoconf
|
||||
- automake
|
||||
- libtool
|
||||
- m4
|
||||
- gcc
|
||||
- sed
|
||||
- make
|
Loading…
Reference in New Issue
Block a user