2019-12-31 14:22:11 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
export ROOT_DIR="$(git rev-parse --show-toplevel)"
|
|
|
|
|
|
|
|
pushd $ROOT_DIR
|
|
|
|
go build -o "$ROOT_DIR/tests/integration/bin/luet"
|
|
|
|
popd
|
|
|
|
|
|
|
|
[ ! -d "$ROOT_DIR/tests/integration/shunit2" ] && git clone https://github.com/kward/shunit2.git "$ROOT_DIR/tests/integration/shunit2"
|
|
|
|
|
|
|
|
export PATH=$ROOT_DIR/tests/integration/bin/:$PATH
|
|
|
|
|
|
|
|
"$ROOT_DIR/tests/integration/01_simple.sh"
|
2020-01-28 16:47:42 +00:00
|
|
|
"$ROOT_DIR/tests/integration/01_simple_gzip.sh"
|
2020-02-02 10:29:05 +00:00
|
|
|
"$ROOT_DIR/tests/integration/02_create_repo_from_config.sh"
|
2019-12-31 14:22:11 +00:00
|
|
|
|