axmol/tools/jenkins-scripts/slave-scripts/tests/tizen-build.sh

27 lines
644 B
Bash
Raw Normal View History

2017-04-20 15:04:14 +08:00
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2021-05-18 16:40:30 +08:00
ADXE_ROOT="$DIR"/../../../..
cd ${ADXE_ROOT}
2017-04-20 15:04:14 +08:00
cocos compile -p tizen --tizen-arch arm -s tests/cpp-tests
if [ ! $? = 0 ]; then
echo "compile cpp-tests error"
exit 1
fi
cocos compile -p tizen --tizen-arch arm -s tests/cpp-empty-test
if [ ! $? = 0 ]; then
echo "compile cpp-empty-test error"
exit 1
fi
cocos compile -p tizen --tizen-arch arm -s tests/lua-tests
if [ ! $? = 0 ]; then
echo "compile lua-tests error"
exit 1
fi
cocos compile -p tizen --tizen-arch arm -s tests/lua-empty-test
if [ ! $? = 0 ]; then
echo "compile lua empty test error"
exit 1
fi