[nodejs-sqlite3] Set NODE_PATH while running tests

Tom Hughes tomh at fedoraproject.org
Tue Mar 5 08:54:23 UTC 2013


commit 2ea790c208a36dfb6596d05331d6f83d0013d337
Author: Tom Hughes <tom at compton.nu>
Date:   Tue Mar 5 08:54:00 2013 +0000

    Set NODE_PATH while running tests

 nodejs-sqlite3.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-sqlite3.spec b/nodejs-sqlite3.spec
index 197a889..631c596 100644
--- a/nodejs-sqlite3.spec
+++ b/nodejs-sqlite3.spec
@@ -52,7 +52,7 @@ node-gyp rebuild
 ln -s Release/node_sqlite3.node build/node_sqlite3.node
 %{__nodejs} test/support/createdb.js
 mkdir test/tmp
-%{nodejs_sitelib}/expresso/bin/expresso test/*.test.js
+NODE_PATH=lib %{nodejs_sitelib}/expresso/bin/expresso test/*.test.js
 %endif
 
 


More information about the scm-commits mailing list