Skip to content

[Windows] test.py errors #2558

@etiktin

Description

@etiktin

When I run test.py on the clean master branch in Windows, I get 4 failures.
Here's the failure summary:

passes: 223 failures: 4 duration: 19.00s

ipc module
remote.require
X should search module from the user app ‣
AssertionError: 'C:\\electron\\spec\\static\\main.js' == 'C:\\electron\\spec\\static\\main.js'
  at Context.<anonymous> (C:\electron\spec\api-ipc-spec.coffee:22:14)
  at callFn (C:\electron\spec\node_modules\mocha\lib\runnable.js:251:21)
  at Test.Runnable.run (C:\electron\spec\node_modules\mocha\lib\runnable.js:244:7)
  at Runner.runTest (C:\electron\spec\node_modules\mocha\lib\runner.js:374:10)
  at C:\electron\spec\node_modules\mocha\lib\runner.js:452:12
  at next (C:\electron\spec\node_modules\mocha\lib\runner.js:299:14)
  at C:\electron\spec\node_modules\mocha\lib\runner.js:309:7
  at next (C:\electron\spec\node_modules\mocha\lib\runner.js:248:23)
  at Immediate._onImmediate (C:\electron\spec\node_modules\mocha\lib\runner.js:276:5)
  at processImmediate [as _immediateCallback] (timers.js:371:17)

third-party module
runas
X can be required in renderer ‣
Error: The specified procedure could not be found.
C:\electron\spec\node_modules\runas\build\Release\runas.node
  at Error (native)
  at Object.module.(anonymous function) (ATOM_SHELL_ASAR.js:137:20)
  at Object.module.(anonymous function) (ATOM_SHELL_ASAR.js:137:20)
  at Object.module.(anonymous function) [as .node] (ATOM_SHELL_ASAR.js:137:20)
  at Module.load (C:\electron\node_modules\coffee-script\lib\coffee-script\register.js:45:36)
  at Function.Module._load (module.js:310:12)
  at Module.require (module.js:365:17)
  at require (module.js:384:17)
  at Object.<anonymous> (C:\electron\spec\node_modules\runas\lib\runas.js:4:11)
  at Object.<anonymous> (C:\electron\spec\node_modules\runas\lib\runas.js:47:4)
  at Module._compile (module.js:430:26)
  at Object.Module._extensions..js (module.js:448:10)
  at Module.load (C:\electron\node_modules\coffee-script\lib\coffee-script\register.js:45:36)
  at Function.Module._load (module.js:310:12)
  at Module.require (module.js:365:17)
  at require (module.js:384:17)
  at Context.<anonymous> (C:\electron\spec\modules-spec.coffee:12:7)
  at callFn (C:\electron\spec\node_modules\mocha\lib\runnable.js:251:21)
  at Test.Runnable.run (C:\electron\spec\node_modules\mocha\lib\runnable.js:244:7)
  at Runner.runTest (C:\electron\spec\node_modules\mocha\lib\runner.js:374:10)
  at C:\electron\spec\node_modules\mocha\lib\runner.js:452:12
  at next (C:\electron\spec\node_modules\mocha\lib\runner.js:299:14)
  at C:\electron\spec\node_modules\mocha\lib\runner.js:309:7
  at next (C:\electron\spec\node_modules\mocha\lib\runner.js:248:23)
  at Immediate._onImmediate (C:\electron\spec\node_modules\mocha\lib\runner.js:276:5)
  at processImmediate [as _immediateCallback] (timers.js:371:17)

X can be required in node binary ‣
AssertionError: 'The specified procedure could not be found.\r\nC:\\electron\\spec\\node_modules\\runas\\build == 'ok'
  at ChildProcess.<anonymous> (C:\electron\spec\modules-spec.coffee:18:16)
  at emitTwo (events.js:87:13)
  at ChildProcess.emit (events.js:172:7)
  at handleMessage (internal/child_process.js:632:10)
  at Pipe.channel.onread (internal/child_process.js:421:11)

<webview> tag
nodeintegration attribute
X loads native modules when navigation happens ‣
AssertionError: 'Uncaught Error: The specified procedure could not be found.\r\nC:\\electron\\spec\\node_modul == 'function'
  at webview.listener2 (C:\electron\spec\webview-spec.coffee:55:18)
  at WebViewImpl.dispatchEvent (C:\electron\out\D\resources\atom.asar\renderer\lib\web-view\web-view.js:143:31)
  at dispatchEvent (C:\electron\out\D\resources\atom.asar\renderer\lib\web-view\guest-view-internal.js:47:13)
  at EventEmitter.<anonymous> (C:\electron\out\D\resources\atom.asar\renderer\lib\web-view\guest-view-internal.js:58:30)
  at emitMany (events.js:108:13)
  at EventEmitter.emit (events.js:182:7)

Tested using Windows 8.1 64 bit with a 32 bit bootstrapped Electron.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions