Skip to content

Commit a1c8550

Browse files
committed
Add more XFAILs and comments about them.
1 parent 1683503 commit a1c8550

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/offset_range.pass.cpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,23 @@
1111
// Test that we can seek using offsets larger than 32 bit, and that we can
1212
// retrieve file offsets larger than 32 bit.
1313

14+
// On MSVC targets, we only use the 32 bit fseek/ftell functions. For MinGW
15+
// targets, we use fseeko/ftello, but the user needs to define
16+
// _FILE_OFFSET_BITS=64 to make them 64 bit.
17+
//
1418
// XFAIL: target={{.*}}-windows{{.*}}
1519

20+
// On 32 bit Android platforms, off_t is 32 bit by default. By defining
21+
// _FILE_OFFSET_BITS=64, one gets a 64 bit off_t, but the corresponding
22+
// 64 bit ftello/fseeko functions are only available since Android API 24 (7.0).
23+
// (On 64 bit Android platforms, off_t has always been 64 bit.)
24+
//
25+
// XFAIL: target={{i686|arm.*}}-{{.+}}-android{{.*}}
26+
27+
// Writing the >4 GB test file fails on 32 bit AIX.
28+
//
29+
// XFAIL: target=powerpc-{{.+}}-aix{{.*}}
30+
1631
#include <fstream>
1732
#include <iostream>
1833
#include <cassert>

0 commit comments

Comments
 (0)