2017-09-07 04:26:20 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
# shellcheck source=/dev/null
|
|
|
|
source "${CI_DIR}/common.sh"
|
|
|
|
|
2024-05-13 19:33:53 +00:00
|
|
|
pushd install/koreader && {
|
2017-10-11 06:38:30 +00:00
|
|
|
# the circleci command spits out newlines; we want spaces instead
|
|
|
|
BUSTED_SPEC_FILE="$(circleci tests glob "spec/front/unit/*_spec.lua" | circleci tests split --split-by=timings --timings-type=filename | tr '\n' ' ')"
|
|
|
|
} && popd || exit
|
|
|
|
|
|
|
|
make testfront BUSTED_SPEC_FILE="${BUSTED_SPEC_FILE}"
|
2024-05-13 19:33:53 +00:00
|
|
|
|
|
|
|
# vim: sw=4
|