Skip to content

Commit

Permalink
Merge pull request universal-ctags#255 from ntrel/fix-msys1-units
Browse files Browse the repository at this point in the history
Use `timeout --version` to check for GNU timeout
  • Loading branch information
masatake committed Feb 26, 2015
2 parents be5628f + 2c7080b commit d8c5a01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ check: units
#
# SHELL must be dash or bash.
#
fuzz: TIMEOUT := $(shell which timeout > /dev/null 2>&1 && echo 1 || echo 0)
fuzz: TIMEOUT := $(shell timeout --version > /dev/null 2>&1 && echo 1 || echo 0)
fuzz: $(CTAGS_TEST)
@ \
c="misc/units fuzz \
Expand All @@ -392,7 +392,7 @@ noise: $(CTAGS_TEST)
#
# UNITS Target
#
units: TIMEOUT := $(shell which timeout > /dev/null 2>&1 && echo 5 || echo 0)
units: TIMEOUT := $(shell timeout --version > /dev/null 2>&1 && echo 5 || echo 0)
units: $(CTAGS_TEST)
@ \
c="misc/units run \
Expand Down

0 comments on commit d8c5a01

Please sign in to comment.