Skip to content

testToolkik FAILED #1

Description

@zosrothko

Hi

Running build.gradle under a DOS windows brings a failure as the cygpath binary is unknown. IMHO, the script should test the existence of cygpath somewhere.

Z:\git\cpp_gradle>c:\programfiles\gradle\bin\gradle
Current environment isWin = true, isCygwin = false
cygwinOrUnixRootDir = Z:\git\cpp_gradle
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use Task.doLast(Action) ins
tead.
        at build_4wymg0rvw0bnwj0sgc2zdddtn.run(Z:\git\cpp_gradle\build.gradle:91)
:testToolkit
============================================================================
  Test separators
============================================================================
s                       = a/b\c
withWinSeparator(s)     = a\b\c
withUnixSeparator(s)    = a/b/c

============================================================================
  Test winPath() and unixPath()
============================================================================
s                         = a/b\c
:testToolkit FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':testToolkit'.
> A problem occurred starting process 'command 'cygpath''

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions