blob: 8aa5d1ef34180eed53b5590785b023918b007aa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/bash
qmake && make
if [[ $? != 0 ]]; then
echo "Error building OpenSCAD executable"
exit 1
fi
cd tests
cmake .
if [[ $? != 0 ]]; then
echo "Error configuring test suite"
exit 1
fi
make
if [[ $? != 0 ]]; then
echo "Error building test suite"
exit 1
fi
ctest
if [[ $? != 0 ]]; then
echo "Test failure"
exit 1
fi
|