Fix test configuration for nodejs.

This commit is contained in:
Oliver Buchtala 2013-09-26 04:13:32 +02:00
commit 7adf93ef0f
4 changed files with 18 additions and 8 deletions

View file

@ -2,5 +2,5 @@
if [ ! -d $1 ]; then
mkdir $1;
fi
sed s/\$testcase/$1/ node_template/binding.gyp.in > $1/binding.gyp
sed -e "s/\$testcase/$1/" -e "s/\$cflags/$2/" < node_template/binding.gyp.in > $1/binding.gyp
sed s/\$testcase/$1/ node_template/index.js.in > $1/index.js