Only disable javascript tests if node-gyp is missing when testing node
This commit is contained in:
parent
e730b16fac
commit
e6d5abb766
2 changed files with 11 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue