File tree 4 files changed +12
-35
lines changed
4 files changed +12
-35
lines changed Original file line number Diff line number Diff line change @@ -1384,7 +1384,7 @@ CONFLICT_RE=^>>>>>>> [0-9A-Fa-f]+|^<<<<<<< [A-Za-z]+
1384
1384
1385
1385
# Related CI job: node-test-linter
1386
1386
lint-ci : lint-js-ci lint-cpp lint-py lint-md lint-addon-docs
1387
- @if ! ( grep -IEqrs " $( CONFLICT_RE) " benchmark deps doc lib src test tools ) \
1387
+ @if ! ( grep -IEqrs " $( CONFLICT_RE) " --exclude= " error-message.js " benchmark deps doc lib src test tools ) \
1388
1388
&& ! ( $( FIND) . -maxdepth 1 -type f | xargs grep -IEqs " $( CONFLICT_RE) " ); then \
1389
1389
exit 0 ; \
1390
1390
else \
Original file line number Diff line number Diff line change @@ -12,8 +12,16 @@ const bindingPath = require.resolve(`./build/${common.buildType}/binding`);
12
12
console . log ( 'process.dlopen:' , bindingPath ) ;
13
13
process . dlopen ( module , bindingPath ,
14
14
os . constants . dlopen . RTLD_NOW | os . constants . dlopen . RTLD_GLOBAL ) ;
15
- console . log ( 'module.exports.load:' , `${ path . dirname ( bindingPath ) } /ping.so` ) ;
16
- module . exports . load ( `${ path . dirname ( bindingPath ) } /ping.so` ) ;
15
+
16
+ let pingSOPath = `${ path . dirname ( bindingPath ) } /lib.target/ping.so` ;
17
+
18
+ if ( common . isOSX ) {
19
+ pingSOPath = `${ path . dirname ( bindingPath ) } /ping.so` ;
20
+ }
21
+
22
+ console . log ( 'module.exports.load:' , pingSOPath ) ;
23
+ module . exports . load ( pingSOPath ) ;
24
+
17
25
assert . strictEqual ( module . exports . ping ( ) , 'pong' ) ;
18
26
19
27
// Check that after the addon is loaded with
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ const npmPathPackageJson = path.resolve(
14
14
) ;
15
15
16
16
const pkg = require ( npmPathPackageJson ) ;
17
- assert ( pkg . version . match ( / ^ \d + \. \d + \. \d + $ / ) ,
17
+ assert ( pkg . version . match ( / ^ \d + \. \d + \. \d + - r c \. \d + $ / ) ,
18
18
`unexpected version number: ${ pkg . version } ` ) ;
You can’t perform that action at this time.
0 commit comments