Skip to content

Commit 91e6b97

Browse files
committed
chore: plenary tests POC: add make entry, specify tests
1 parent 006b27d commit 91e6b97

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ help-check: help-update
4747
# test
4848
#
4949
test: plenary.nvim
50-
scripts/test.sh $$TEST_NAME
50+
scripts/test.sh
5151

5252
#
5353
# Dependencies

scripts/test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ export DIR_PLENARY
1010

1111
if [ "${#}" -eq 1 ]; then
1212
TEST_NAME="${1}"
13-
else
13+
elif [ -z "${TEST_NAME}" ]; then
1414
TEST_NAME="tests"
1515
fi
1616
export TEST_NAME
1717

18+
echo "testing: ${TEST_NAME}"
19+
1820
nvim --headless \
1921
--clean \
2022
-u "${DIR_REPO}/tests/minimal_init.lua" \

0 commit comments

Comments
 (0)