cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5330) Fix cordova-cli hooker.spec tests
Date Tue, 10 Dec 2013 18:44:08 GMT

    [ https://issues.apache.org/jira/browse/CB-5330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13844523#comment-13844523
] 

ASF subversion and git services commented on CB-5330:
-----------------------------------------------------

Commit 8b764c3c993c8bf2813d0dfa7155b12507962660 in branch refs/heads/master from [~kamrik]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=8b764c3 ]

CB-5330: Fix hooks test on windows, move to e2e.

Refactored the hooker.spec.js to use real files like the e2e tests.
Moved the spec and corresponding fixtures to live under e2e dir.
Rearranged the hooks fixtures into two separate dirs for Win and non-Win
platforms.


> Fix cordova-cli hooker.spec tests
> ---------------------------------
>
>                 Key: CB-5330
>                 URL: https://issues.apache.org/jira/browse/CB-5330
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.1.0
>         Environment: Windows8
>            Reporter: Jesse MacFadyen
>            Assignee: Mark Koudritsky
>
> Running node tests without hooker.spec.js runs without issue.
> Running node tests on windows in the CLI results in the following fatal output.  
> =====
> {code}
> $ npm test
> > cordova@3.1.0-0.2.0 test c:\Repos\cordova\cordova-cli
> > jasmine-node --color spec
> ...................................................................................rm:
could not rem
> ove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/before_build
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/be
> fore_build
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/be
> fore_build
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/be
> fore_build
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp
> .{ [Error: EPERM, operation not permitted 'c:\Repos\cordova\cordova-cli\temp\.cordova\hooks\before_b
> uild\fail.bat']
>   errno: 50,
>   code: 'EPERM',
>   path: 'c:\\Repos\\cordova\\cordova-cli\\temp\\.cordova\\hooks\\before_build\\fail.bat',
>   syscall: 'stat' }
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message