Missing faulty test in wscript, check nodeunit exists #15

Closed
f3r3nc opened this Issue May 20, 2010 · 4 comments

Projects

None yet

2 participants

@f3r3nc
f3r3nc commented May 20, 2010

test doesn't seem to work.
$ node-waf test
fs:90
var fd = binding.open(path, process.O_RDONLY, 0666);
^
Error: ENOENT, No such file or directory '/home/fatso/src/node-mysql-libmysqlclient/tests/nodeunit/lib/testrunner.js'

@Sannis
Owner
Sannis commented May 21, 2010

Thanks for your remark.
I use nodeunit test framework and register it as submodule. So if you want to use "node-waf text" feature, you must run
git submodule init
git submodule update
before that.

@Sannis
Owner
Sannis commented May 21, 2010

I'll add these commands into README or wscript in next minor version.

@f3r3nc
f3r3nc commented May 27, 2010

this gets the tests.

FAILURES: 3/162 assertions failed
✖ ConnectError
node-mysql-libmysqlclient/tests/nodeunit/lib/nodeunit.js:37:39)
ysqlclient/tests
test-class-mysqlconn.js:104:8

✖ mysql_libmysqlclient_createConnection_1
node-mysql-libmysqlclient/tests/nodeunit/lib/nodeunit.js:37:39)
libmysqlclient/tests/test-javascript-interface.js:30:8

✖ mysql_libmysqlclient_createConnection_2
node-mysql-libmysqlclient/tests/nodeunit/lib/nodeunit.js:37:39)
libmysqlclient/tests/test-javascript-interface.js:41:8

seems promissing tho.

@Sannis
Owner
Sannis commented Aug 17, 2010

Add check for nodeunit exists into wscript, closed by 7926786

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment