Allow exceptions in generated example/test node extensions.
This commit is contained in:
parent
54dd7e96c0
commit
fec11a8def
2 changed files with 4 additions and 4 deletions
|
|
@ -27,7 +27,9 @@ CPP_TEST_CASES = \
|
||||||
char_binary \
|
char_binary \
|
||||||
class_ignore \
|
class_ignore \
|
||||||
class_scope_weird \
|
class_scope_weird \
|
||||||
|
complextest \
|
||||||
constover \
|
constover \
|
||||||
|
constructor_copy \
|
||||||
cpp_enum \
|
cpp_enum \
|
||||||
cpp_namespace \
|
cpp_namespace \
|
||||||
cpp_static \
|
cpp_static \
|
||||||
|
|
@ -50,8 +52,6 @@ CPP_TEST_CASES = \
|
||||||
javascript_unicode
|
javascript_unicode
|
||||||
|
|
||||||
BROKEN_TEST_CASES = \
|
BROKEN_TEST_CASES = \
|
||||||
complextest \
|
|
||||||
constructor_copy \
|
|
||||||
preproc_include
|
preproc_include
|
||||||
|
|
||||||
SKIP_CPP_CASES = @SKIP_CPP_CASES@
|
SKIP_CPP_CASES = @SKIP_CPP_CASES@
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@
|
||||||
if [ ! -d $1 ]; then
|
if [ ! -d $1 ]; then
|
||||||
mkdir $1;
|
mkdir $1;
|
||||||
fi
|
fi
|
||||||
echo "module.exports = require('./build/Release/$1')" > $1/index.js
|
sed s/\$testcase/$1/ node_template/binding.gyp.in > $1/binding.gyp
|
||||||
echo "{\"targets\":[{\"target_name\": \"$1\",\"sources\":[\"$1_wrap.cxx\"]}]}" > $1/binding.gyp
|
sed s/\$testcase/$1/ node_template/index.js.in > $1/index.js
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue