blob: 6f9868df00f7f8af45ed844414bd59f8a36210d5 (
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 -j4
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 -j4
if [[ $? != 0 ]]; then
echo "Error building test suite"
exit 1
fi
ctest -j8
if [[ $? != 0 ]]; then
echo "Test failure"
exit 1
fi
|