Skip to content

Commit

Permalink
Merge pull request universal-ctags#254 from masatake/check-the-availa…
Browse files Browse the repository at this point in the history
…bility-of-timeout-command

Set timeout value to 0 if timeout command is not available in a test environment
  • Loading branch information
masatake committed Feb 26, 2015
2 parents 8f419cd + a121667 commit 8b4c4cd
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 := 1
fuzz: TIMEOUT := $(shell which timeout > /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 := 5
units: TIMEOUT := $(shell which timeout > /dev/null 2>&1 && echo 5 || echo 0)
units: $(CTAGS_TEST)
@ \
c="misc/units run \
Expand Down

0 comments on commit 8b4c4cd

Please sign in to comment.