4
#if we are building in chroot the RESULT_DIR is mounted to /results
5
if [ -z "$RESULT_DIR" ]; then
11
# Leveraged from unity-merger
13
# Set to XML output for archiving results (if supported)
14
export GTEST_OUTPUT="xml:./"
16
cd /tmp/buildd/*/debian/..
18
# no test for python lenses for now
19
[ -f setup.py ] && exit 0
21
if [ -f CMakeLists.txt ]; then
22
cd obj-`dpkg-architecture -qDEB_BUILD_GNU_TYPE`
25
make check-headless || make check || make test
27
find . -name '*test*.xml' -exec cp '{}' "$RESULT_DIR" \;