To run tpkg tests directly from clean git repo

This commit is contained in:
Willem Toorop 2016-06-14 12:52:54 +02:00
parent 20ba3958fa
commit ea226b882d
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@ export BUILDDIR=`pwd`
export BUILDROOT=`(cd "${BUILDDIR}/../../.."; pwd)`
export LIBTOOL="${BUILDROOT}/libtool"
if [ ! -f "${SRCROOT}/src/test/jsmn/jsmn.c" ]
then
(cd "${SRCROOT}"; git submodule update --init)
fi
if [ ! -f "${SRCROOT}/libtool" ]
then
(cd "${SRCROOT}"; libtoolize -fic)