| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | set -u |
| 5 | |
| 6 | cd $AUTOPKGTEST_TMP |
| 7 | apt-get source timemon.app |
| 8 | cd timemon.app-* |
| 9 | buildtool build |
| 10 | |
| 11 | # Unfortunately buildtool's exit status is 0 even when the build fails |
| 12 | # so check that the products exist. |
| 13 | stat build/TimeMon/Products/TimeMon.app/TimeMon |
| 14 | stat build/TimeMon/Products/TimeMon.app/Resources |