Only disable javascript tests if node-gyp is missing when testing node

This commit is contained in:
William S Fulton 2014-04-21 11:37:19 +01:00
commit e6d5abb766
2 changed files with 11 additions and 5 deletions

View file

@ -661,12 +661,14 @@ javascript_version:
ifeq (, $(ENGINE))
@if [ "$(NODEJS)" != "" ]; then \
echo "Node.js: `($(NODEJS) --version)`"; \
echo "node-gyp: `($(NODEGYP) --version)`"; \
else \
echo "Version depends on the interpreter"; \
fi
endif
ifeq (node, $(ENGINE))
$(NODEJS) --version
echo "Node.js: `($(NODEJS) --version)`"
echo "node-gyp: `($(NODEGYP) --version)`"
endif
ifeq (jsc, $(ENGINE))
@if [ "@JSCOREVERSION@" != "" ]; then \
@ -678,7 +680,6 @@ endif
ifeq (v8, $(ENGINE))
echo "Unknown v8 version."
endif
echo "node-gyp: `($(NODEGYP) --version)`"
# -----------------------------------------------------------------
# Cleaning the Javascript examples