Tests fail against node v0.6.8 when installing fibers 0.6.5 #60

Closed
scriby opened this Issue Mar 20, 2012 · 1 comment

Projects

None yet

2 participants

@scriby
scriby commented Mar 20, 2012

My npm version is 1.1.0-2 if it matters.

Here's the output:

npm install fibers@0.6.5
npm http GET https://registry.npmjs.org/fibers/0.6.5
npm http 304 https://registry.npmjs.org/fibers/0.6.5

fibers@0.6.5 install /home/scriby/ftest/node_modules/fibers
make clean all

make -C src clean
make[1]: Entering directory /home/scriby/ftest/node_modules/fibers/src' rm -f fibers.node libcoro.o coroutine.o rm -f -r *.dSYM make[1]: Leaving directory/home/scriby/ftest/node_modules/fibers/src'
rm -f -r man
make -C src fibers.node
make[1]: Entering directory /home/scriby/ftest/node_modules/fibers/src' g++ -Wall -Wno-deprecated-declarations -I/usr/local/include -I/usr/local/include/node -g -O3 -m64 -DCORO_UCONTEXT -fPIC -c -o coroutine.o coroutine.cc coroutine.cc:12:41: warning: converting to non-pointer type ‘pthread_key_t’ from NULL coroutine.cc:13:40: warning: converting to non-pointer type ‘pthread_key_t’ from NULL coroutine.cc: In constructor ‘Coroutine::Coroutine()’: coroutine.cc:66:46: warning: passing NULL to non-pointer argument 5 of ‘void coro_create(coro_context*, void (*)(void*), void*, void*, long int)’ coroutine.cc: In destructor ‘Coroutine::~Coroutine()’: coroutine.cc:77:24: warning: statement has no effect cc -Wall -Wno-deprecated-declarations -I/usr/local/include -I/usr/local/include/node -g -O3 -m64 -DCORO_UCONTEXT -fPIC -c -o libcoro.o libcoro/coro.c g++ -fPIC -shared -Wl,-Bdynamic -Wall -Wno-deprecated-declarations -I/usr/local/include -I/usr/local/include/node -g -O3 -m64 -DCORO_UCONTEXT fibers.cc coroutine.o libcoro.o -o fibers.node -lpthread make[1]: Leaving directory/home/scriby/ftest/node_modules/fibers/src'
./test.sh
already-running.js: pass
./test.sh: 9: [[: not found
bad-context.js: pass
./test.sh: 9: [[: not found
child-process.js: pass
./test.sh: 9: [[: not found
current.js: pass
./test.sh: 9: [[: not found
exec.js: pass
./test.sh: 9: [[: not found
exit.js: pass
./test.sh: 9: [[: not found
fibonacci.js: pass
./test.sh: 9: [[: not found
finish-multiple.js: pass
./test.sh: 9: [[: not found
future.js: pass
./test.sh: 9: [[: not found
illegal-yield.js: pass
./test.sh: 9: [[: not found
pool.js: pass
./test.sh: 9: [[: not found
process-title.js: pass
./test.sh: 9: [[: not found
stack-overflow.js: pass
./test.sh: 9: [[: not found
started.js: pass
./test.sh: 9: [[: not found
unwind.js: pass
./test.sh: 9: [[: not found
fibers@0.6.5 ./node_modules/fibers

@scriby
scriby commented Mar 20, 2012

Oh sorry, looks like the tests are passing, just some weird output with the Not found business.

@laverdet laverdet added a commit that closed this issue Mar 27, 2012
@laverdet Don't use [[ .. ]] in test.sh
sh needs [ .. ]

Fixes gh-60
f64b36f
@laverdet laverdet closed this in f64b36f Mar 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment