conditional tests

This commit is contained in:
YellowJacketLinux 2024-10-08 18:50:04 -07:00
parent 1562381f4f
commit 1df6ca1b1b
46 changed files with 208 additions and 102 deletions

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d libtool-${libtool_version} ] && rm -rf libtool-${libtool_version}
@ -19,8 +19,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building libtool"
fi
#echo "running libtool make check"
#make -k check > ${GLSOURCES}/libtool.check 2>&1
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running libtool make check"
make -k check > ${GLSOURCES}/libtool.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d gdbm-${gdbm_version} ] && rm -rf gdbm-${gdbm_version}
@ -21,8 +21,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building gdbm"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running gdbm make check"
make check > ${GLSOURCES}/gdbm.check 2>&1
make check > ${GLSOURCES}/gdbm.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d gperf-${gperf_version} ] && rm -rf gperf-${gperf_version}
@ -20,8 +20,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building gperf"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running gperf make check"
make -j1 check > ${GLSOURCES}/gperf.check 2>&1
make -j1 check > ${GLSOURCES}/gperf.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d expat-${expat_version} ] && rm -rf expat-${expat_version}
@ -21,8 +21,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building expat"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running expat make check"
make check > ${GLSOURCES}/expat.check 2>&1
make check > ${GLSOURCES}/expat.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d inetutils-${inetutils_version} ] && rm -rf inetutils-${inetutils_version}
@ -30,8 +30,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building inetutils"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running inetutils make check"
make check > ${GLSOURCES}/inetutils.check 2>&1
make check > ${GLSOURCES}/inetutils.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d less-${less_version} ] && rm -rf less-${less_version}
@ -20,8 +20,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building less"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running less make check"
make check > ${GLSOURCES}/less.check 2>&1
make check > ${GLSOURCES}/less.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d perl-${perl_version} ] && rm -rf perl-${perl_version}
@ -43,6 +43,11 @@ if [ $? -ne 0 ]; then
myfail "Failed building perl"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running perl make test"
TEST_JOBS=$(nproc) make test_harness > ${GLSOURCES}/perl.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then
myfail "Failed installing perl"

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d XML-Parser-${xml_parser_version} ] && rm -rf XML-Parser-${xml_parser_version}
@ -19,8 +19,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building XML Parser"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running XML Parser make test"
make test > ${GLSOURCES}/XML-Parser.check 2>&1
make test > ${GLSOURCES}/XML-Parser.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d intltool-${intltool_version} ] && rm -rf intltool-${intltool_version}
@ -21,8 +21,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building intltool"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running intltool make check"
make check > ${GLSOURCES}/intltool.check 2>&1
make check > ${GLSOURCES}/intltool.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d autoconf-${autoconf_version} ] && rm -rf autoconf-${autoconf_version}
@ -19,9 +19,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building autoconf"
fi
# temporarily disable
#echo "running autoconf make check"
#make check > ${GLSOURCES}/autoconf.check 2>&1
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running autoconf make check"
make check > ${GLSOURCES}/autoconf.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d automake-${automake_version} ] && rm -rf automake-${automake_version}
@ -20,9 +20,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building automake"
fi
# temporarily disable
#echo "running automake make check"
#make -j$(($(nproc)>4?$(nproc):4)) check > ${GLSOURCES}/automake.check 2>&1
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running automake make check"
make -j$(($(nproc)>4?$(nproc):4)) check > ${GLSOURCES}/automake.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d libressl-${libressl_version} ] && rm -rf libressl-${libressl_version}
@ -41,8 +41,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building libressl"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running libressl make check"
make check > ${GLSOURCES}/libressl.check 2>&1
make check > ${GLSOURCES}/libressl.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d kmod-${kmod_version} ] && rm -rf kmod-${kmod_version}

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d elfutils-${elfutils_version} ] && rm -rf elfutils-${elfutils_version}
@ -21,8 +21,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building libelf"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running elfutils make check"
make check > ${GLSOURCES}/elfutils.check 2>&1
make check > ${GLSOURCES}/elfutils.check.log 2>&1
fi
make -C libelf install
if [ $? -ne 0 ]; then

View File

@ -7,7 +7,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d libffi-${libffi_version} ] && rm -rf libffi-${libffi_version}
@ -24,8 +24,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building libffi"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running libffi make check"
make check > ${GLSOURCES}/libffi.check 2>&1
make check > ${GLSOURCES}/libffi.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d openssl-${openssl_version} ] && rm -rf openssl-${openssl_version}
@ -23,6 +23,11 @@ if [ $? -ne 0 ]; then
myfail "Failed building openssl"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running openssl make test"
HARNESS_JOBS=$(nproc) make test > ${GLSOURCES}/openssl.check.log 2>&1
fi
sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
make MANSUFFIX=ssl install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d Python-${python_version} ] && rm -rf Python-${python_version}
@ -24,8 +24,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building Python"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running Python make test. Could be time consuming."
make test TESTOPTS="--timeout 120" > ${GLSOURCES}/python.check 2>&1
make test TESTOPTS="--timeout 120" > ${GLSOURCES}/python.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d flit_core-${flit_core_version} ] && rm -rf flit_core-${flit_core_version}

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d wheel-${wheel_version} ] && rm -rf wheel-${wheel_version}

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d setuptools-${setuptools_version} ] && rm -rf setuptools-${setuptools_version}

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d ninja-${ninja_version} ] && rm -rf ninja-${ninja_version}

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d meson-${meson_version} ] && rm -rf meson-${meson_version}

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d coreutils-${coreutils_version} ] && rm -rf coreutils-${coreutils_version}

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d check-${check_version} ] && rm -rf check-${check_version}
@ -20,8 +20,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building check"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running check make check"
make check > ${GLSOURCES}/check.check 2>&1
make check > ${GLSOURCES}/check.check.log 2>&1
fi
make docdir=/usr/share/doc/check-${check_version} install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d diffutils-${diffutils_version} ] && rm -rf diffutils-${diffutils_version}
@ -19,8 +19,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building diffutils"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running diffutils make check"
make check > ${GLSOURCES}/diffutils.check 2>&1
make check > ${GLSOURCES}/diffutils.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d gawk-${gawk_version} ] && rm -rf gawk-${gawk_version}
@ -21,6 +21,13 @@ if [ $? -ne 0 ]; then
myfail "Failed building gawk"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running gawk make check"
chown -R tester .
su tester -c "PATH=$PATH make check > gawk.check.log"
mv gawk.check.log ${GLSOURCES}/
fi
rm -f /usr/bin/gawk-${gawk_version}
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d findutils-${findutils_version} ] && rm -rf findutils-${findutils_version}
@ -20,6 +20,13 @@ if [ $? -ne 0 ]; then
myfail "Failed building findutils"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running findutils make check"
chown -R tester .
su tester -c "PATH=$PATH make check > findutils.check.log"
mv findutils.check.log ${GLSOURCES}/
fi
make install
if [ $? -ne 0 ]; then
myfail "Failed installing findutils"

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d groff-${groff_version} ] && rm -rf groff-${groff_version}
@ -19,8 +19,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building groff"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running groff make check"
make check > ${GLSOURCES}/groff.check 2>&1
make check > ${GLSOURCES}/groff.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d grub-${grub_version} ] && rm -rf grub-${grub_version}

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d gzip-${gzip_version} ] && rm -rf gzip-${gzip_version}
@ -19,8 +19,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building gzip"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running gzip make check"
make check > ${GLSOURCES}/gzip.check 2>&1
make check > ${GLSOURCES}/gzip.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d iproute2-${iproute2_version} ] && rm -rf iproute2-${iproute2_version}

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d kbd-${kbd_version} ] && rm -rf kbd-${kbd_version}
@ -24,8 +24,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building kbd"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running kbd make check"
make check > ${GLSOURCES}/kbd.check 2>&1
make check > ${GLSOURCES}/kbd.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d libpipeline-${libpipeline_version} ] && rm -rf libpipeline-${libpipeline_version}
@ -19,8 +19,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building libpipeline"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running libpipeline make check"
make check > ${GLSOURCES}/libpipeline.check 2>&1
make check > ${GLSOURCES}/libpipeline.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d make-${make_version} ] && rm -rf make-${make_version}
@ -19,6 +19,13 @@ if [ $? -ne 0 ]; then
myfail "Failed building make"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running make make check"
chown -R tester .
su tester -c "PATH=$PATH make check > make.check.log 2>&1"
mv make.check.log ${GLSOURCES}/
fi
make install
if [ $? -ne 0 ]; then
myfail "Failed installing make"

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d patch-${patch_version} ] && rm -rf patch-${patch_version}
@ -19,8 +19,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building patch"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running patch make check"
make check > ${GLSOURCES}/patch.check 2>&1
make check > ${GLSOURCES}/patch.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d tar-${tar_version} ] && rm -rf tar-${tar_version}
@ -20,8 +20,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building tar"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running tar make check"
make check > ${GLSOURCES}/tar.check 2>&1
make check > ${GLSOURCES}/tar.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d texinfo-${texinfo_version} ] && rm -rf texinfo-${texinfo_version}
@ -19,8 +19,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building texinfo"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running texinfo make check"
make check > ${GLSOURCES}/texinfo.check 2>&1
make check > ${GLSOURCES}/texinfo.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d vim-${vim_version} ] && rm -rf vim-${vim_version}
@ -21,6 +21,14 @@ if [ $? -ne 0 ]; then
myfail "Failed building vim"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running vim make test"
chown -R tester .
su tester -c "TERM=xterm-256color LANG=en_US.UTF-8 make -j1 test" \
&> vim.test.log
mv vim.test.log ${GLSOURCES}/
fi
make install
if [ $? -ne 0 ]; then
myfail "Failed installing vim"

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d MarkupSafe-${markupsafe_version} ] && rm -rf MarkupSafe-${markupsafe_version}

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d jinja2-${jinja2_version} ] && rm -rf jinja2-${jinja2_version}

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d systemd-${systemd_version} ] && rm -rf systemd-${systemd_version}
@ -44,8 +44,10 @@ fi
echo 'NAME="Linux From Scratch"' > /etc/os-release
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running systemd ninja test"
ninja test > ${GLSOURCES}/systemd.check 2>&1
ninja test > ${GLSOURCES}/systemd.check.log 2>&1
fi
ninja install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d dbus-${dbus_version} ] && rm -rf dbus-${dbus_version}
@ -28,8 +28,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building dbus"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running dbus make check"
make check > ${GLSOURCES}/dbus.check 2>&1
make check > ${GLSOURCES}/dbus.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d man-db-${mandb_version} ] && rm -rf man-db-${mandb_version}
@ -26,8 +26,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building man-db"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running man-db make check"
make check > ${GLSOURCES}/man-db.check 2>&1
make check > ${GLSOURCES}/man-db.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d procps-ng-${procps_version} ] && rm -rf procps-ng-${procps_version}
@ -23,6 +23,13 @@ if [ $? -ne 0 ]; then
myfail "Failed building procps-ng"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running procps-ng make check"
chown -R tester .
su tester -c "PATH=$PATH make check > procps-ng.check.log"
mv procps-ng.check.log ${GLSOURCES}/
fi
make install
if [ $? -ne 0 ]; then
myfail "Failed installing procps-ng"

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d util-linux-${util_linux_version} ] && rm -rf util-linux-${util_linux_version}
@ -34,6 +34,14 @@ if [ $? -ne 0 ]; then
myfail "Failed building util-linux"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running util-linux make check"
touch /etc/fstab
chown -R tester .
su tester -c "make -k check > util-linux.check.log"
mv util-linux.check.log ${GLSOURCES}/
fi
make install
if [ $? -ne 0 ]; then
myfail "Failed installing util-linux"

View File

@ -4,7 +4,7 @@ source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
pushd ${GLSOURCES} > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d e2fsprogs-${e2fsprogs_version} ] && rm -rf e2fsprogs-${e2fsprogs_version}
@ -27,8 +27,10 @@ if [ $? -ne 0 ]; then
myfail "Failed building e2fsprogs"
fi
if [ ! -f ${GLSOURCES}/SKIPTESTS ]; then
echo "running e2fsprogs make check"
make check > ${GLSOURCES}/e2fsprogs.check 2>&1
make check > ${GLSOURCES}/e2fsprogs.check.log 2>&1
fi
make install
if [ $? -ne 0 ]; then