-
Notifications
You must be signed in to change notification settings - Fork 13
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
Notes on the test suite #10
Comments
RR = Relative Read I made a mistake in the suite, the upper case variants mean fsatrace was unable to determine the full absolute path for the access. Should be fixed now. As for the |
So is the upper-case Yep, depending on an extra dependency is always annoying. |
I don't think Shake should handle it. It's something that should disappear as soon as everything is working properly. It's there mainly to help figuring out if some tool is using an unimplemented feature. It's mainly related to the usage of xxxat() function variants, like: https://github.com/jacereda/fsatrace/blob/master/src/unix/fsatraceso.c#L267 I've never used them and haven't seen them used in any of the major compilers, so I didn't bother to implement them. Those could be They can also be reported on Windows if obtaining the path associated with a handle fails for some reason. I haven't seen it so far. |
The "at" variants of functions are wonderful system calls, and it seems well worth supporting them! (And they aren't that hard. Here is how I do it in bigbro: https://github.com/droundy/bigbro/blob/master/linux-proc.h#L3 |
I had a look through the test suite. A couple of questions:
RR FilePath
f ('R':'|':xs) = Just $ R xs
. It would be ideal if you guaranteed only to produce one form.os == "mingw32"
- this always scares me that Haskell programs use a value called OS, matching against a string which is clearly not an OS, and is a toolkit not even installed probably at the wrong bit size. I prefer theisWindows
from the extra library - but what you are doing is the Haskell expected pattern, I just don't like it, so go with whatever you prefer.The text was updated successfully, but these errors were encountered: