Skip to content

Make the tests work under Windows - #1133

Merged
jrosdahl merged 4 commits into
ccache:masterfrom
orgads:fix-windows-tests
Oct 12, 2022
Merged

jrosdahl merged 4 commits into
ccache:masterfrom
orgads:fix-windows-tests

Conversation

@orgads

@orgads orgads commented Aug 14, 2022

Copy link
Copy Markdown
Contributor

Rebased version of #943.

@orgads
orgads force-pushed the fix-windows-tests branch 2 times, most recently from 6ac4669 to b64f32b Compare August 14, 2022 20:01
@orgads
orgads force-pushed the fix-windows-tests branch 2 times, most recently from a538fcc to c020954 Compare August 15, 2022 05:39
@orgads

orgads commented Aug 15, 2022

Copy link
Copy Markdown
Contributor Author

Woohoo! It passed!

cc @rvogg

Comment thread test/run Resolved
Comment thread test/suites/basedir.bash Resolved
Comment thread test/suites/basedir.bash Resolved
Comment thread test/suites/basedir.bash Resolved
Comment thread test/suites/modules.bash Resolved
Comment thread test/suites/pch.bash Resolved
@orgads
orgads force-pushed the fix-windows-tests branch 2 times, most recently from c4f2b4c to fc0d3da Compare August 19, 2022 04:59
@jrosdahl jrosdahl added os: windows Related to building or running on Windows issue: improvement Enhancements that improve performance, usability or code quality, not a new feature area: tests Affects testing of Ccache itself labels Aug 29, 2022
@orgads
orgads force-pushed the fix-windows-tests branch 5 times, most recently from 467b394 to 292ac87 Compare October 2, 2022 13:07
@orgads

orgads commented Oct 2, 2022

Copy link
Copy Markdown
Contributor Author

\o/

rvogg and others added 4 commits October 10, 2022 23:45
- Adding the ".sh" extension to most shell scripts.
  It looks like Windows needs this to run the scripts.

- Adding special handling of carriage return characters.

- Tests that fail are deactivated for the moment.
@orgads
orgads force-pushed the fix-windows-tests branch from 292ac87 to 9f5aebc Compare October 10, 2022 20:46
@orgads

orgads commented Oct 10, 2022

Copy link
Copy Markdown
Contributor Author

Rebased, all the dependencies are already merged.

@jrosdahl jrosdahl added this to the 4.7 milestone Oct 12, 2022
@jrosdahl
jrosdahl merged commit de5778a into ccache:master Oct 12, 2022
@jrosdahl

Copy link
Copy Markdown
Member

Thanks.

@orgads
orgads deleted the fix-windows-tests branch October 12, 2022 19:32
@jrosdahl

Copy link
Copy Markdown
Member

@orgads

orgads commented Oct 13, 2022

Copy link
Copy Markdown
Contributor Author

Yes, I've noticed.

The failure happens while installing packages. Maybe it was a temporary network failure.

Last retry succeeded.

  error: failed retrieving file 'mingw-w64-clang-x86_64-crt-git-10.0.0.r109.g0cd93ace0-1-any.pkg.tar.zst.sig' from mirror2.sandyriver.net : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
  error: failed retrieving file 'mingw-w64-clang-x86_64-headers-git-10.0.0.r109.g0cd93ace0-1-any.pkg.tar.zst' from mirror.msys2.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
  warning: failed to retrieve some files
  error: failed to commit transaction (unexpected error)
  Errors occurred, no packages were upgraded.

@jrosdahl

Copy link
Copy Markdown
Member

Maybe it was a temporary network failure.

Well, it happened both yesterday and today, so it doesn't feel like a one-time glitch.

@orgads

orgads commented Oct 13, 2022

Copy link
Copy Markdown
Contributor Author

Ok, I give up :)

Please merge #1179.

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

Labels

area: tests Affects testing of Ccache itself issue: improvement Enhancements that improve performance, usability or code quality, not a new feature os: windows Related to building or running on Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants