Skip to content

Tests broken with native Windows perl #11350

Closed

Description

@MarcelRaad

I did this

From an MSYS2 shell on Windows:

cd tests && ./runtests.pl

I expected the following

Successful test run. Instead, I get:

No such signal: SIGUSR1 at ./runtests.pl line 274.

This is with MSYS2's perl used in its MINGW32 shell:

$ perl --version
This is perl 5, version 32, subversion 1 (v5.32.1) built for MSWin32-x86-multi-thread-64int

Strangely, the error doesn't appear in the CI.

curl/libcurl version

2fe5241

operating system

Windows 10 (MSYS2)

CC @dfandrich

Activity

  1. dfandrich commented on Jun 20, 2023

    @dfandrich
    Contributor
  2. MarcelRaad commented on Jun 20, 2023

    @MarcelRaad
    MemberAuthor

    perl -e 'print join(" ", keys %SIG)' says:

    ABRT ALRM BREAK CHLD CLD CONT FPE HUP ILL INT KILL NUM05 NUM06 NUM07 NUM10 NUM12 NUM16 NUM17 NUM18 NUM19 NUM24 PIPE QUIT SEGV STOP TERM                
    

    Maybe I also did something wrong, this is the first time I've set up an MSYS2 development environment in a long time, and the last time I've manually run the tests in MSYS2 was last year.

  3. dfandrich commented on Jun 20, 2023

    @dfandrich
    Contributor
  4. MarcelRaad commented on Jun 20, 2023

    @MarcelRaad
    MemberAuthor

    I've also just read that Windows
    doesn't even support sending signals like I'm using SIGUSR1 for, so maybe an
    error setting this signal handler should simply be ignored on Windows.

    Sounds good to me!

  5. changed the title [-]Tests broken on Windows[/-] [+]Tests broken with native Windows perl[/+] on Jun 20, 2023
  6. added a commit that references this issue on Jun 22, 2023
    01505e4
  7. added a commit that references this issue on Jul 19, 2023
    c5c48f5
  8. added a commit that references this issue on Sep 25, 2023
    6e18206
  9. added a commit that references this issue on Mar 27, 2024
    0526525
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions