Skip to content

Running several tests requires Cygwin on Windows. #681

@juj

Description

@juj

Parsing the results of the buildbot test runs on Windows, there's a recurring problem on a system that doesn't have cygwin set up. See

http://clb.demon.fi:8112/builders/win-emcc-incoming-tests/builds/35/steps/Test%20emscripten%20incoming/logs/failed%20(825)

Several tests fail with

test_poppler (main.o1) ... Error: Exception thrown when invoking Popen in configure with args: "sh ./configure"!

also some tests fail with

test_cube2hash (main.o1) ... Error: Exception thrown when invoking Popen in make with args: "make -j 2"!

This is because there no 'sh' or 'make' on a Windows system. They can be found through Cygwin.

How much does emscripten depend on cygwin in general? I'm thinking it's more like 'accidental' that certain parts of emscripten go through cygwin, and not by decision to have cygwin e.g. based on some required feature.

The 'make' tool would be best replaced with using 'mingw32-make' on Windows, since that understands windows paths directly, whereas the cygwin 'make' doesn't and one runs into a lot of other problems trying to run makefiles through cygwin. E.g. one of them being that cmake generates Makefiles that don't go well through in cygwin environment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions