Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail in Windows #5

Closed
JJ opened this issue Sep 2, 2019 · 3 comments
Closed

Tests fail in Windows #5

JJ opened this issue Sep 2, 2019 · 3 comments

Comments

@JJ
Copy link
Collaborator

JJ commented Sep 2, 2019

This refers to #2 but also #1. Check out Appveyor output. Maybe there are similar problems in OSx

JJ added a commit that referenced this issue Sep 4, 2019
@JJ
Copy link
Collaborator Author

JJ commented Sep 4, 2019

This issue is dicey. I thought it had something to do with Windows paths, but it's more sneaky. It's got to do with file status and/or how it's read from a JSON file. Might be down to JSON::Fast, might not. Who knows...

@JJ
Copy link
Collaborator Author

JJ commented Sep 4, 2019

The problem seems to be deep down in how CompUnit::PrecompilationRepository::Document handles files. That's using mainly very low level primitives from NQP, so that might be tricky.

JJ added a commit that referenced this issue Sep 4, 2019
JJ added a commit that referenced this issue Sep 4, 2019
Closes #8, still refs #5
JJ added a commit that referenced this issue Sep 4, 2019
This is related to #7, but we are adressing #5
JJ added a commit that referenced this issue Sep 4, 2019
JJ added a commit that referenced this issue Sep 4, 2019
JJ added a commit that referenced this issue Sep 4, 2019
JJ added a commit that referenced this issue Sep 4, 2019
JJ added a commit that referenced this issue Sep 4, 2019
JJ added a commit that referenced this issue Sep 4, 2019
@JJ
Copy link
Collaborator Author

JJ commented Sep 4, 2019

I think I've finally found what's the problem with Windows. It's basically that the class creates a lock that can't be deleted, and thus the file cache can't be deleted, so we have to work with it. The problem is that we're going to leave a lot of files around in Windows, but I can't see how that can be fixed.

JJ added a commit that referenced this issue Sep 4, 2019
@JJ JJ closed this as completed in 6a983e3 Sep 4, 2019
JJ added a commit that referenced this issue Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant