Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

11 changed files with 323 additions and 16 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/hyphen-2.8.8.tar.gz
/hyphen-2.8.8.tar.gz

View File

@ -1 +0,0 @@
0556c392beb59433e577e3517575801212201df6 SOURCES/hyphen-2.8.8.tar.gz

6
gating.yaml Normal file
View File

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

17
hyphen-dumplog.patch Normal file
View 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

View File

@ -1,13 +1,19 @@
Name: hyphen
Summary: A text hyphenation library
Version: 2.8.8
Release: 9%{?dist}
Release: 17%{?dist}
Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
Group: System Environment/Libraries
URL: http://hunspell.sf.net
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2 or LGPLv2+ or MPLv1.1
BuildRequires: perl-interpreter, patch, autoconf, automake, libtool
# s390 lacks valgrind support
# no working valgrind built for MIPS yet
# tests with valgrind fail on arm
# tests with valgrind fail on ppc64le
%ifnarch s390 %{arm} %{mips} ppc64le
BuildRequires: valgrind
%endif
BuildRequires: make
%description
Hyphen is a library for high quality hyphenation and justification.
@ -15,7 +21,6 @@ Hyphen is a library for high quality hyphenation and justification.
%package devel
Requires: hyphen = %{version}-%{release}
Summary: Files for developing with hyphen
Group: Development/Libraries
%description devel
Includes and definitions for developing with hyphen
@ -23,7 +28,6 @@ Includes and definitions for developing with hyphen
%package en
Requires: hyphen
Summary: English hyphenation rules
Group: Applications/Text
BuildArch: noarch
%description en
@ -38,6 +42,9 @@ make %{?_smp_mflags}
%check
make check
%ifnarch s390 %{arm} %{mips} ppc64le
VALGRIND=memcheck make check
%endif
%install
rm -rf $RPM_BUILD_ROOT
@ -52,30 +59,47 @@ done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO
%{_libdir}/*.so.*
%dir %{_datadir}/hyphen
%files en
%defattr(-,root,root,-)
%{_datadir}/hyphen/hyph_en*.dic
%files devel
%defattr(-,root,root,-)
%{_includedir}/hyphen.h
%{_libdir}/*.so
%{_bindir}/substrings.pl
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.8.8-17
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.8.8-16
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
5ade6ae2a99bc1e9e57031ca88d36dad hyphen-2.8.8.tar.gz

View File

@ -0,0 +1,196 @@
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:2: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:3: installing './compile'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
parallel-tests: installing './test-driver'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:2: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
/usr/share/automake-1.16/am/ltlibrary.am: warning: 'libhyphen.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.in'
Makefile.am:3: while processing Libtool library 'libhyphen.la'
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
/var/str/source/missing: Unknown `--is-lightweight' option
Try `/var/str/source/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in doc
make[1]: Entering directory '/var/str/source/doc'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/var/str/source/doc'
Making all in tests
make[1]: Entering directory '/var/str/source/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/var/str/source/tests'
make[1]: Entering directory '/var/str/source'
gcc -DPACKAGE_NAME=\"hyphen\" -DPACKAGE_TARNAME=\"hyphen\" -DPACKAGE_VERSION=\"2.8.8\" -DPACKAGE_STRING=\"hyphen\ 2.8.8\" -DPACKAGE_BUGREPORT=\"nemeth@numbertext.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hyphen\" -DVERSION=\"2.8.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT substrings.o -MD -MP -MF .deps/substrings.Tpo -c -o substrings.o substrings.c
mv -f .deps/substrings.Tpo .deps/substrings.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o substrings substrings.o
libtool: link: gcc -g -O2 -o substrings substrings.o
gcc -DPACKAGE_NAME=\"hyphen\" -DPACKAGE_TARNAME=\"hyphen\" -DPACKAGE_VERSION=\"2.8.8\" -DPACKAGE_STRING=\"hyphen\ 2.8.8\" -DPACKAGE_BUGREPORT=\"nemeth@numbertext.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hyphen\" -DVERSION=\"2.8.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT example.o -MD -MP -MF .deps/example.Tpo -c -o example.o example.c
mv -f .deps/example.Tpo .deps/example.Po
/bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"hyphen\" -DPACKAGE_TARNAME=\"hyphen\" -DPACKAGE_VERSION=\"2.8.8\" -DPACKAGE_STRING=\"hyphen\ 2.8.8\" -DPACKAGE_BUGREPORT=\"nemeth@numbertext.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hyphen\" -DVERSION=\"2.8.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT hnjalloc.lo -MD -MP -MF .deps/hnjalloc.Tpo -c -o hnjalloc.lo hnjalloc.c
libtool: compile: gcc -DPACKAGE_NAME=\"hyphen\" -DPACKAGE_TARNAME=\"hyphen\" -DPACKAGE_VERSION=\"2.8.8\" "-DPACKAGE_STRING=\"hyphen 2.8.8\"" -DPACKAGE_BUGREPORT=\"nemeth@numbertext.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hyphen\" -DVERSION=\"2.8.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT hnjalloc.lo -MD -MP -MF .deps/hnjalloc.Tpo -c hnjalloc.c -fPIC -DPIC -o .libs/hnjalloc.o
libtool: compile: gcc -DPACKAGE_NAME=\"hyphen\" -DPACKAGE_TARNAME=\"hyphen\" -DPACKAGE_VERSION=\"2.8.8\" "-DPACKAGE_STRING=\"hyphen 2.8.8\"" -DPACKAGE_BUGREPORT=\"nemeth@numbertext.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hyphen\" -DVERSION=\"2.8.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT hnjalloc.lo -MD -MP -MF .deps/hnjalloc.Tpo -c hnjalloc.c -o hnjalloc.o >/dev/null 2>&1
mv -f .deps/hnjalloc.Tpo .deps/hnjalloc.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"hyphen\" -DPACKAGE_TARNAME=\"hyphen\" -DPACKAGE_VERSION=\"2.8.8\" -DPACKAGE_STRING=\"hyphen\ 2.8.8\" -DPACKAGE_BUGREPORT=\"nemeth@numbertext.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hyphen\" -DVERSION=\"2.8.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT hyphen.lo -MD -MP -MF .deps/hyphen.Tpo -c -o hyphen.lo hyphen.c
libtool: compile: gcc -DPACKAGE_NAME=\"hyphen\" -DPACKAGE_TARNAME=\"hyphen\" -DPACKAGE_VERSION=\"2.8.8\" "-DPACKAGE_STRING=\"hyphen 2.8.8\"" -DPACKAGE_BUGREPORT=\"nemeth@numbertext.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hyphen\" -DVERSION=\"2.8.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT hyphen.lo -MD -MP -MF .deps/hyphen.Tpo -c hyphen.c -fPIC -DPIC -o .libs/hyphen.o
libtool: compile: gcc -DPACKAGE_NAME=\"hyphen\" -DPACKAGE_TARNAME=\"hyphen\" -DPACKAGE_VERSION=\"2.8.8\" "-DPACKAGE_STRING=\"hyphen 2.8.8\"" -DPACKAGE_BUGREPORT=\"nemeth@numbertext.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hyphen\" -DVERSION=\"2.8.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -g -O2 -MT hyphen.lo -MD -MP -MF .deps/hyphen.Tpo -c hyphen.c -o hyphen.o >/dev/null 2>&1
mv -f .deps/hyphen.Tpo .deps/hyphen.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -version-info 3:0:3 -o libhyphen.la -rpath /usr/local/lib hnjalloc.lo hyphen.lo
libtool: link: gcc -shared -fPIC -DPIC .libs/hnjalloc.o .libs/hyphen.o -g -O2 -Wl,-soname -Wl,libhyphen.so.0 -o .libs/libhyphen.so.0.3.0
libtool: link: (cd ".libs" && rm -f "libhyphen.so.0" && ln -s "libhyphen.so.0.3.0" "libhyphen.so.0")
libtool: link: (cd ".libs" && rm -f "libhyphen.so" && ln -s "libhyphen.so.0.3.0" "libhyphen.so")
libtool: link: ar cru .libs/libhyphen.a hnjalloc.o hyphen.o
libtool: link: ranlib .libs/libhyphen.a
libtool: link: ( cd ".libs" && rm -f "libhyphen.la" && ln -s "../libhyphen.la" "libhyphen.la" )
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o example example.o libhyphen.la
libtool: link: gcc -g -O2 -o .libs/example example.o ./.libs/libhyphen.so -Wl,-rpath -Wl,/usr/local/lib
cp -f ./hyphen.tex hyphen.us
patch < ./hyphen.patch
patching file hyphen.us
./tbhyphext.sh <./tbhyphext.tex >hyphen.us2
cat hyphen.us hyphen.us2 | gawk -f ./lig.awk >hyphen.us3
cat ./ligpatch.txt >>hyphen.us3
perl ./substrings.pl hyphen.us3 hyph_en_US.dic UTF-8 2 3 >/dev/null
make[1]: Leaving directory '/var/str/source'
Making check in doc
make[1]: Entering directory '/var/str/source/doc'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/var/str/source/doc'
Making check in tests
make[1]: Entering directory '/var/str/source/tests'
make check-TESTS
make[2]: Entering directory '/var/str/source/tests'
make[3]: Entering directory '/var/str/source/tests'
PASS: basealt2.test
PASS: basealt.test
PASS: base.test
PASS: conv.test
PASS: unicode.test
PASS: alt.test
PASS: alt2.test
PASS: alt3.test
PASS: alt4.test
PASS: alt5.test
PASS: alt6.test
PASS: compound.test
PASS: compound2.test
PASS: compound3.test
PASS: compound4.test
PASS: settings.test
PASS: settings2.test
PASS: settings3.test
PASS: settings4.test
PASS: lhmin.test
PASS: rhmin.test
PASS: lig.test
PASS: hyphen.test
PASS: num.test
============================================================================
Testsuite summary for hyphen 2.8.8
============================================================================
# TOTAL: 24
# PASS: 24
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: Leaving directory '/var/str/source/tests'
make[2]: Leaving directory '/var/str/source/tests'
make[1]: Leaving directory '/var/str/source/tests'
make[1]: Entering directory '/var/str/source'
make[1]: Nothing to be done for 'check-am'.
make[1]: Leaving directory '/var/str/source'
PASS

View File

@ -0,0 +1,7 @@
results:
- test: make-check
result: pass
runtime: 13
logs:
- PASS-str_make-check.log

1
tests/artifacts/test.log Normal file
View File

@ -0,0 +1 @@
PASS make-check

32
tests/scripts/make_check.sh Executable file
View 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
View 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