Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
nodejs8.8544
fix_ci_tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_ci_tests.patch of Package nodejs8.8544
Author: Adam Majer <amajer@suse.de> Date: Dec 20 09:18:49 UTC 2017 Summary: Fix CI unit tests framework for OBS building Index: node-v8.11.4/test/parallel/test-module-loading-globalpaths.js =================================================================== --- node-v8.11.4.orig/test/parallel/test-module-loading-globalpaths.js +++ node-v8.11.4/test/parallel/test-module-loading-globalpaths.js @@ -7,6 +7,9 @@ const fs = require('fs'); const child_process = require('child_process'); const pkgName = 'foo'; +common.skip('hardcoded global paths'); +return; + if (process.argv[2] === 'child') { console.log(require(pkgName).string); } else { Index: node-v8.11.4/Makefile =================================================================== --- node-v8.11.4.orig/Makefile +++ node-v8.11.4/Makefile @@ -416,7 +416,7 @@ test-ci-js: | clear-stalled fi test-ci: LOGLEVEL := info -test-ci: | clear-stalled build-addons build-addons-napi doc-only +test-ci: | clear-stalled build-addons build-addons-napi out/Release/cctest --gtest_output=tap:cctest.tap $(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap --logfile test.tap \ --mode=release --flaky-tests=$(FLAKY_TESTS) \ Index: node-v8.11.4/test/doctool/test-make-doc.js =================================================================== --- node-v8.11.4.orig/test/doctool/test-make-doc.js +++ node-v8.11.4/test/doctool/test-make-doc.js @@ -11,7 +11,7 @@ const assert = require('assert'); const fs = require('fs'); const path = require('path'); -const apiPath = path.resolve(common.projectDir, 'out', 'doc', 'api'); +const apiPath = path.resolve(common.projectDir, 'doc', 'api'); const docs = fs.readdirSync(apiPath); assert.ok(docs.includes('_toc.html')); Index: node-v8.11.4/test/parallel/test-tls-passphrase.js =================================================================== --- node-v8.11.4.orig/test/parallel/test-tls-passphrase.js +++ node-v8.11.4/test/parallel/test-tls-passphrase.js @@ -221,7 +221,7 @@ server.listen(0, common.mustCall(functio }, common.mustCall()); })).unref(); -const errMessagePassword = /bad decrypt/; +const errMessagePassword = /bad (decrypt|password read)/; // Missing passphrase assert.throws(function() {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor