2013-05-14 01:04:54 +04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd tests
|
2013-12-09 09:13:14 +04:00
|
|
|
cmake .
|
2013-05-14 03:32:54 +04:00
|
|
|
if [[ $? != 0 ]]; then
|
|
|
|
echo "Error configuring test suite"
|
|
|
|
exit 1
|
|
|
|
fi
|
2013-10-31 06:39:18 +04:00
|
|
|
make -j2
|
2013-05-14 03:32:54 +04:00
|
|
|
if [[ $? != 0 ]]; then
|
|
|
|
echo "Error building test suite"
|
|
|
|
exit 1
|
|
|
|
fi
|
2014-05-29 04:49:27 +04:00
|
|
|
# Exclude tests known the cause issues on Travis
|
|
|
|
# opencsgtest_rotate_extrude-tests - Fails on Ubuntu 12.04 using Gallium 0.4 drivers
|
|
|
|
ctest -j8 -E opencsgtest_rotate_extrude-tests
|
2013-05-14 03:32:54 +04:00
|
|
|
if [[ $? != 0 ]]; then
|
|
|
|
echo "Test failure"
|
|
|
|
exit 1
|
|
|
|
fi
|