[compiler-rt] r238874 - Tests: disable test of /proc filesystem on Darwin.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Fri Jun 5 11:11:58 PDT 2015


It looks like FreeBSD may have /proc, so moving the test to Linux
would be bad. You could add XFAIL: darwin, or, in this particular
case, simply exit(0) if the file in /proc could not be opened.

On Fri, Jun 5, 2015 at 11:03 AM, Tim Northover <tnorthover at apple.com> wrote:
>> IMO this test should be moved to Linux/ (and duplicated to an Android/
>> directory?),
>
> I thought that originally, but Wiki says /proc filesystems are on at least some BSDs too (though I'm not sure if they support the particular access being done here).
>
>> or moved to a LinuxLike/ directory, or the individual test
>> file disabled on Darwin.
>
> I didn't know you could disable individual files, that sounds like a reasonable change if it is possible though.
>
> Tim.



More information about the llvm-commits mailing list