Skip to content

Commit fd34e63

Browse files
committed
Remove duplicate definition of command to run checktestdata.
1 parent c889200 commit fd34e63

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ parse.cc parserbase.h: checktestdata.y parser.h parser.ih parsetype.hpp
4444
$(call INSERT_VERSION,BISONCPP_VERSION,$(shell bisonc++ --version))
4545
endif
4646

47-
checksucc = ./checktestdata $$opts $$prog $$data >/dev/null 2>&1 || \
48-
{ echo "Running './checktestdata $$opts $$prog $$data' did not succeed..." ; exit 1; }
49-
checkfail = ./checktestdata $$opts $$prog $$data >/dev/null 2>&1 && \
50-
{ echo "Running './checktestdata $$opts $$prog $$data' did not fail..." ; exit 1; }
47+
checkcmd = ./checktestdata $$opts $$prog $$data
48+
checksucc = $(checkcmd) >/dev/null 2>&1 || \
49+
{ echo "Running '$(checkcmd)' did not succeed..." ; exit 1; }
50+
checkfail = $(checkcmd) >/dev/null 2>&1 && \
51+
{ echo "Running '$(checkcmd)' did not fail..." ; exit 1; }
5152

5253
config.mk: config.mk.in
5354
$(error run ./bootstrap and/or configure to create config.mk)

0 commit comments

Comments
 (0)