Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the file extenions to the path in Makefile #454

Closed
wants to merge 2 commits into from

Conversation

adomokos
Copy link
Contributor

@adomokos adomokos commented Jun 8, 2012

When I ran make test-all in the terminal I received the following error:

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: ENOENT, no such file or directory 'test/acceptance/interfaces/bdd'
    at Object.statSync (fs.js:414:18)
    at lookupFiles (/Users/adomokos/Programming/JavaScript/mocha-fork/bin/_mocha:361:17)
    at /Users/adomokos/Programming/JavaScript/mocha-fork/bin/_mocha:211:24
    at Array.forEach (native)
    at Object.<anonymous> (/Users/adomokos/Programming/JavaScript/mocha-fork/bin/_mocha:210:6)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:348:31)
    at Function._load (module.js:308:12)
    at Array.0 (module.js:479:10)
    at EventEmitter._tickCallback (node.js:192:40)
make: *** [test-bdd] Error 1

I looked into why the test-bdd task failed: it couldn't find the test file without the file extension. I added the .js and the task passed.

Fixed the other examples, make test-all should work now.

I tested it on OSX 10.7.4 and node version v0.6.10.

@tj
Copy link
Contributor

tj commented Jun 8, 2012

hmm it should work without, i must have broken something

@tj
Copy link
Contributor

tj commented Jun 8, 2012

oh i know what it is, that dir arg change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants