[go: up one dir, main page]

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

Support for phantomjs 2.1.1 (for blanket to work on ppc64le architecture) #567

Open
seth-priya opened this issue Jan 17, 2017 · 0 comments

Comments

@seth-priya
Copy link

Hi,

I am trying to install and test blanket on ppc64le architecture. However, I am running into an issue due to a dependency on phantomjs. I have built and install phantomjs 2.1.1 (earliest version known to work on ppc64le is 2.0.0). Blanket detects this installation and the build succeeds. However, getting the following failure while trying to run the tests (seems that it is picking the x86 version of the phantomjs binary)

Snippet from the test logs

Running:./node_modules/mocha/bin/mocha --compilers coffee:coffee-script/register test/test-node/testrunner_cs.js

require test
â should return 10

1 passing (8ms)

Running:./node_modules/mocha/bin/mocha --compilers coffee:coffee-script/register,cjsx:coffee-react/register test/test-node/testrunner_cjsx.js

require test
â should return div with 10

1 passing (9ms)

Running:./node_modules/phantomjs/bin/phantomjs test/helpers/phantom_qunit_runner.js test/lib-tests/runner.html?coverage=true

Error:/blanket/node_modules/phantomjs/lib/phantom/bin/phantomjs: /blanket/node_modules/phantomjs/lib/phantom/bin/phantomjs: cannot execute binary file
Running:./node_modules/phantomjs/bin/phantomjs test/helpers/phantom_qunit_runner.js test/branchTracking/branch_runner.html?coverage=true
Warning: Task "blanketTest:normal" failed. Use --force to continue.

Aborted due to warnings.
npm ERR! Test failed. See above for more details.

I am trying to understand if there is an easy way to upgrade the version of phantomjs (or if this is something already in the pipeline?) used by blanket or an alternative way to run the test cases,

Any pointers on this would be of great help. Thanks!

Regards,
Priya

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

No branches or pull requests

1 participant