diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-09-04 14:08:27 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-09-04 14:08:27 -0700 |
| commit | 900466c48380ae3c2ba6f29c75c8423c3751abea (patch) | |
| tree | b0b15c3fe9828fe9d24bbdd34a3556d662dc5286 /Makefile | |
| parent | 3c517550502ea6d49f8889387e641a71814884f6 (diff) | |
Tests should use local `bp`, not installed version
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,8 +46,8 @@ test: $(NAME) ./$(NAME) Comment -r '[@0]' >/dev/null ./$(NAME) -g ./grammars/bp.bp -p Grammar ./grammars/bp.bp >/dev/null for test in tests/*.sh; do \ - sh "$$test" <"$${test/.sh/.in}" | diff -q - "$${test/.sh/.out}" ||\ - sh "$$test" <"$${test/.sh/.in}" | diff -y --color=always - "$${test/.sh/.out}"; \ + PATH=".:$$PATH" sh "$$test" <"$${test/.sh/.in}" | diff -q - "$${test/.sh/.out}" ||\ + PATH=".:$$PATH" sh "$$test" <"$${test/.sh/.in}" | diff -y --color=always - "$${test/.sh/.out}"; \ done tutorial: |
