| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
# run upstream's unit tests with their full etcd fixtures, etc |
| 4 |
|
| 5 |
set -eux |
| 6 |
|
| 7 |
. debian/tests/setup |
| 8 |
|
| 9 |
# FIXME: errors with non-constant format string in call to |
| 10 |
# github.com/aptly-dev/aptly/s3.fatalError |
| 11 |
rm ${APTLY_SRC_DIR}/s3/server_test.go |
| 12 |
rm ${APTLY_SRC_DIR}/s3/public_test.go |
| 13 |
|
| 14 |
# upstream's etcd fixture is arch-specific |
| 15 |
rm ${APTLY_SRC_DIR}/database/etcddb/database_test.go |
| 16 |
|
| 17 |
# TestVerifyClearsigned fails because of an extra signature |
| 18 |
perl -i -pe 's/(TestVerifyClearsigned)/No$1/' ${APTLY_SRC_DIR}/pgp/verify_test.go |
| 19 |
|
| 20 |
make -C $APTLY_SRC_DIR test |