mirror of
https://github.com/koreader/koreader
synced 2024-11-13 19:11:25 +00:00
a4a04ac356
Use `BUSTED_OVERRIDES`, as `BUSTED_SPEC_FILE` was
removed in 93c7ceccd9
.
15 lines
492 B
Bash
Executable File
15 lines
492 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
# shellcheck source=/dev/null
|
|
source "${CI_DIR}/common.sh"
|
|
|
|
pushd install/koreader && {
|
|
# the circleci command spits out newlines; we want spaces instead
|
|
BUSTED_OVERRIDES="$(circleci tests glob "spec/front/unit/*_spec.lua" | circleci tests split --split-by=timings --timings-type=filename | tr '\n' ' ')"
|
|
} && popd || exit
|
|
|
|
make testfront --assume-old=all BUSTED_OVERRIDES="${BUSTED_OVERRIDES}"
|
|
|
|
# vim: sw=4
|