1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487
|
<!DOCTYPE html>
<html>
<head>
<title>results.Windows</title>
</head>
<body>
<pre>
All failures in the libc++ test suite will be documented here.
Last run was with Clang (pre-3.1) and GCC 4.6.3 (with dw2 exception handling) and
mingw-w64 v2.0.3 on i686-w64-mingw32.
The following line was added to ./lib/buildit to make a static libc++ library because a DLL requires "declspec(dllexport)" or a .def file:
ar rcs libc++.a *.o
I also deleted libc++.dll and libc++.dll.a to make sure libc++ was linked statically to prevent unrelated issues from contaminating the test results.
The commands to build and test were (-nodefaultlibs does not work, lots of MinGW related stuff gets left out resulting in linker failures):
TRIPLE=i686-w64-mingw32 ./buildit
TRIPLE=i686-w64-mingw32 HEADER_INCLUDE="-I/home/Ruben/libcxx/include" LIBS="-L/home/ruben/libcxx/lib -lc++ -lpthread -lsupc++ -lmsvcr100 -Wl,--allow-multiple-definition" ./testit > test.log 2>&1
Note: Some locale tests may "Need investigating", but I think most problems are
caused by wrong/unportable locale naming in the tests.
Note: Some tests failed to link because "test.exe" was still running when ld.exe
tried to link the next test. I left these failures out of the list; they
account for about 10-30 failures, and are counted in the total scores below.
I reran some of these failures manually and they passed.
Note: Some tests fail at runtime but pass when run manually. Usage of std::cout
segfaults so further investigation is difficult. These also contribute to
the failures total, but are left out of the failure list, as the cause is
probably not located in that part of libc++, not locatable due to the lack
of usable debug info generated by Clang at this time.
TOTAL RESULTS:
Section failures / total sections: 104 / 1064 = 9.8% failures
Test failures / total number of tests: 292 / 4326 = 6.7% failures
depr/
depr.c.headers/
inttypes_h.pass.cpp: missing macros for C++.
uchar_h.pass.cpp: bug in mingw-w64 headers for C++11 builtin char types.
wchar_h.pass.cpp: Windows does not have swprintf, should use _snwprintf.
Suggest #define swprintf as _snwprintf for _WIN32.
exception.unexpected/
set.unexpected/
get_unexpected.pass.cpp: Segmentation fault - needs investigation.
set_unexpected.pass.cpp: idem.
diagnostics/
syserr/
syserr.errcat/
syserr.errcat.objects/
system_category.pass.cpp: Needs investigation.
input.output/
file.streams/
c.files/
cinttypes.pass.cpp: missing macros for C++.
fstreams/
filebuf.assign/
member_swap.pass.cpp: Segmentation fault - needs investigation.
move_assign.pass.cpp: idem.
nonmember_swap.pass.cpp: idem.
filebuf.cons/
move.pass.cpp: idem.
filebuf.members/
open_pointers.pass.cpp: idem.
filebuf.virtuals/
overflow.pass.cpp: idem.
pbackfail.pass.cpp: idem.
seekoff.pass.cpp: idem.
underflow.pass.cpp: idem.
fstream.assign/
member_swap.pass.cpp: idem.
move_assign.pass.cpp: idem.
nonmember_swap.pass.cpp: idem.
fstream.cons/
move.pass.cpp: idem.
pointer.pass.cpp: idem.
string.pass.cpp: idem.
fstream.members/
open_pointer.pass.cpp: idem.
open_string.pass.cpp: idem.
ifstream.assign/
member_swap.pass.cpp: idem.
move_assign.pass.cpp: idem.
nonmember_swap.pass.cpp: idem.
ifstream.cons/
move.pass.cpp: idem.
pointer.pass.cpp: idem.
string.pass.cpp: idem.
ifstream.members/
open_pointer.pass.cpp: idem.
open_string.pass.cpp: idem.
rdbuf.pass.cpp: idem.
ofstream.assign/
member_swap.pass.cpp: idem.
move_assign.pass.cpp: idem.
nonmember_swap.pass.cpp: idem.
ofstream.cons/
move.pass.cpp: idem.
pointer.pass.cpp: idem.
string.pass.cpp: idem.
ofstream.members/
open_pointer.pass.cpp: idem.
open_string.pass.cpp: idem.
rdbuf.pass.cpp: idem.
iostream.format/
ext.manip
get_money.pass.cpp: Windows locale names don't follow UNIX convention.
get_time.pass.cpp: idem.
put_money.pass.cpp: idem.
put_time.pass.cpp: idem.
output.streams/
ostream.formatted/
ostream.inserters.arithmetic/
long_double.pass.cpp: Segfault - needs investigation.
pointer.pass.cpp: idem.
ostream_sentry/
destruct.pass.cpp: idem.
iostream.objects/
narrow.stream.objects/
cerr.pass.cpp: idem.
cin.pass.cpp: idem.
wide.stream.objects/
wcerr.pass.cpp: idem.
wcin.pass.cpp: idem.
iostreams.base/
ios/
basic.ios.members/
copyfmt.pass.cpp: Windows locale names don't follow UNIX convention.
imbue.pass.cpp: idem.
move.pass.cpp: idem.
swap.pass.cpp: Windows locale names don't follow UNIX convention.
ios.base/
ios.base.callback/
register_callback.pass.cpp: Windows locale names don't follow UNIX convention.
ios.base.locales/
imbue.pass.cpp: Windows locale names don't follow UNIX convention.
stream.buffers/
streambuf/
streambuf.cons/
copy.pass.cpp: Windows locale names don't follow UNIX convention.
default.pass.cpp: idem.
streambuf.members/
streambuf.buffer/
locales.pass.cpp: Windows locale names don't follow UNIX convention.
streambuf.protected/
streambuf.assign/
assign.pass.cpp: Windows locale names don't follow UNIX convention.
swap.pass.cpp: idem.
language.support/
support.exception/
except.nested/
assign.pass.cpp: Needs investigation.
ctor_copy.pass.cpp: idem.
ctor_default.pass.cpp: idem.
rethrow_if_nested.pass.cpp: idem.
rethrow_nested.pass.cpp: idem.
throw_with_nested.pass.cpp: idem.
propagation/
current_exception.pass.cpp: Needs investigation.
exception_ptr.pass.cpp: idem.
make_exception_ptr.pass.cpp: idem.
rethrow_exception.pass.cpp: idem.
uncaught/
uncaught_exception.pass.cpp: Needs investigation.
support.limits/
limits/
numeric.limits.members/
digits.pass.cpp: Needs investigation (wrong assumptions?).
digits10.pass.cpp: idem.
support.runtime/
support.start.term/
quick_exit.pass.cpp: Not declared in libc++ headers. Is it from the ABI lib?
support.types/
max_align_t.pass.cpp: needs investigation (wrong assumptions?).
localization/
locale.categories/
category.collate/
locale.collate.byname/
compare.pass.cpp: Windows locale names don't follow UNIX convention.
hash.pass.cpp: idem.
transform.pass.cpp: getenv should be replaced by putenv for portability.
Windows locale names don't follow UNIX convention.
types.pass.cpp: Windows locale names don't follow UNIX convention.
locale.categories/
category.ctype/
locale.codecvt/
locale.codecvt.members/
wchar_t_in.pass.cpp: Most likely wchar_t is assumed 4 bytes.
wchar_t_length.pass.cpp: idem.
wchar_t_out.pass.cpp: idem.
wchar_t_unshift.pass.cpp: idem.
locale.codecvt.byname/
ctor_wchar_t.pass.cpp: Windows locale names don't follow UNIX convention.
locale.ctype.byname/
is_1.pass.cpp: Windows locale names don't follow UNIX convention.
is_many.pass.cpp: idem.
narrow_1.pass.cpp: idem.
narrow_many.pass.cpp: idem.
scan_is.pass.cpp: idem.
scan_not.pass.cpp: idem.
tolower_1.pass.cpp: idem.
tolower_many.pass.cpp: idem.
toupper_1.pass.cpp: idem.
toupper_many.pass.cpp: idem.
types.pass.cpp: idem.
widen_1.pass.cpp: idem.
widen_many.pass.cpp: idem.
category.monetary/
locale.money.get/
locale.money.get.members/
get_long_double_en_US.pass.cpp: Windows locale names don't follow UNIX convention.
get_long_double_fr_FR.pass.cpp: idem.
get_long_double_ru_RU.pass.cpp: idem.
get_long_double_zh_CN.pass.cpp: idem.
get_string_en_US.pass.cpp: idem.
locale.money.put/
locale.money.put.members/
put_long_double_en_US.pass.cpp: Windows locale names don't follow UNIX convention.
put_long_double_fr_FR.pass.cpp: idem.
put_long_double_ru_RU.pass.cpp: idem.
put_long_double_zh_CN.pass.cpp: idem.
put_string_en_US.pass.cpp: idem.
locale.moneypunct.byname/
curr_symbol.pass.cpp: Failed constructing from C locale. Needs investigation.
decimal_point.pass.cpp: idem.
frac_digits.pass.cpp: idem.
grouping.pass.cpp: idem.
neg_format.pass.cpp: idem.
negative_sign.pass.cpp: idem.
pos_format.pass.cpp: idem.
positive_sign.pass.cpp: idem.
thousands_sep.pass.cpp: idem.
category.numeric/
locale.nm.put/
facet.num.put.members/
put_double.pass.cpp: idem. (different floating point format?)
put_long_double.pass.cpp: idem.
put_pointer.pass.cpp: idem.
locale.num.get/
facet.num.get.members/
get_double.pass.cpp: Needs investigating.
get_float.pass.cpp: idem.
get_long_double.pass.cpp: idem.
get_pointer.pass.cpp: idem.
category.time/
locale.time.get/
locale.time.get.byname/
date_order.pass.cpp: Windows locale names don't follow UNIX convention.
date_order_wide.pass.cpp: idem.
get_date.pass.cpp: idem.
get_date_wide.pass.cpp: idem.
get_monthname.pass.cpp: idem.
get_monthname_wide.pass.cpp: idem.
get_one.pass.cpp: idem.
get_one_wide.pass.cpp: idem.
get_time.pass.cpp: idem.
get_time_wide.pass.cpp: idem.
get_weekday.pass.cpp: idem.
get_weekday_wide.pass.cpp: idem.
get_year.pass.cpp: idem.
get_year_wide.pass.cpp: idem.
locale.time.put/
locale.time.put.members/
put1.pass.cpp: Needs investigating.
put2.pass.cpp: idem.
locale.time.put.byname/
put1.pass.cpp: Windows locale names don't follow UNIX convention.
facet.numpunct/
locale.numpunct/
locale.numpunct.byname/
decimal_point.pass.cpp: Failed constructing from C locale. Needs investigation.
grouping.pass.cpp: idem.
thousands_sep.pass.cpp: idem.
locale.stdcvt/
codecvt_utf16_in.pass.cpp: 0x40003 does not fit in a 2-byte wchar_t.
codecvt_utf16_out.pass.cpp: idem.
codecvt_utf8_in.pass.cpp: idem.
codecvt_utf8_out.pass.cpp: idem.
codecvt_utf8_utf16_in.pass: idem.
codecvt_utf8_utf16_out.pass.cpp: idem.
locales/
locale/
locale.cons/
assign.pass.cpp: Windows locale names don't follow UNIX convention.
char_pointer.pass.cpp: idem.
copy.pass.cpp: idem.
default.pass.cpp: idem.
locale_char_pointer_cat.pass.cpp: idem.
locale_facetptr.pass.cpp: idem.
locale_locale_cat.pass.cpp: idem.
locale_string_cat.pass.cpp: idem.
string.pass.cpp: idem.
locale.members/
name.pass.cpp: Windows locale names don't follow UNIX convention.
locale.operators/
eq.pass.cpp: Windows locale names don't follow UNIX convention.
locale/locale.statics/
classic.pass.cpp: Failed constructing from C locale. Needs investigation.
global.pass.cpp: Windows locale names don't follow UNIX convention.
locale.convenience/
conversions/
conversions.buffer/
overflow.pass.cpp: Needs investigation.
pbackfail.pass.cpp: idem.
seekoff.pass.cpp: idem.
test.pass.cpp: idem.
underflow.pass.cpp: idem.
conversions.string/
converted.pass.cpp: out of range hex sequence due to 2-byte wchar_t.
from_bytes.pass.cpp: idem (This test passed while it probably shouldn't!).
to_bytes.pass.cpp: idem.
numerics/
complex.number/
complex.value.ops/
abs.pass.cpp: Failed assertion.
arg.pass.cpp: idem.
rand/
rand.device/
ctor.pass.cpp: No such thing as /dev/urandom on Windows. Need alternative.
entropy.pass.cpp: idem.
eval.pass.cpp: idem.
rand.dis/
rand.dist.bern/
rand.dist.bern.bernoulli/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.bern.bin/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.bern.geo/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.bern.negbin/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.norm/
rand.dist.norm.cauchy/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.norm.chisq/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.norm.norm.f/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.norm.lognormal/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.norm.normal/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.norm.t/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.pois/
rand.dist.pois.exp/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.pois.extreme/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.pois.gamma/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.pois.poisson/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.pois.weibull/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.samp/
rand.dist.samp.discrete/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.samp.pconst/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.samp.plinear/
io.pass.cpp: Needs investigation. (different output double format?)
rand.dist.uni/
rand.dist.uni.real/
io.pass.cpp: Needs investigation. (different output double format?)
re/
re.alg/
re.alg.match/
awk.pass.cpp: Needs investigation.
basic.pass.cpp: idem.
ecma.pass.cpp: idem.
extended.pass.cpp: idem.
re.alg.search/
awk.pass.cpp: Needs investigation.
basic.pass.cpp: idem.
ecma.pass.cpp: idem.
extended.pass.cpp: idem.
re.regex/
re.regex.locale/
imbue.pass.cpp: Windows locale names don't follow UNIX convention.
re.traits/
default.pass.cpp: Windows locale names don't follow UNIX convention.
getloc.pass.cpp: idem.
imbue.pass.cpp: idem.
isctype.pass.cpp: Needs investigation.
lookup_classname.pass.cpp: idem.
lookup_collatename.pass.cpp: Windows locale names don't follow UNIX convention.
transform.pass.cpp: idem.
transform_primary.pass.cpp: idem
translate_nocase.pass.cpp: Needs investigation.
strings/
c.strings/
cuchar.pass.cpp: see previous note about uchar.h.
cwchar.pass.cpp: I suggest including the win32 support header which defines
(v)swprintf to the Windows equivalent.
version_cuchar.pass.cpp: see previous note about uchar.h.
string.conversions/
stod.pass.cpp: "no conversion". Needs investigation.
stof.pass.cpp: idem.
to_string.pass.cpp: Needs investigation.
to_wstring.pass.cpp: idem.
thread/
futures/
futures.async/
async.pass.cpp: Needs investigation.
futures.promise/
alloc_ctor.pass.cpp: Needs investigation.
default.pass.cpp: idem.
dtor.pass.cpp: idem.
get_future.pass.cpp: idem.
move_assign.pass.cpp: idem.
move_ctor.pass.cpp: idem.
set_exception.pass.cpp: idem.
set_exception_at_thread_exit.pass.cpp: idem.
set_lvalue.pass.cpp: idem.
set_lvalue_at_thread_exit.pass.cpp: idem.
set_rvalue.pass.cpp: idem.
set_rvalue_at_thread_exit.pass.cpp: idem.
set_value_at_thread_exit_const.pass.cpp: idem.
set_value_at_thread_exit_void.pass.cpp: idem.
set_value_const.pass.cpp: idem.
set_value_void.pass.cpp: idem.
swap.pass.cpp: idem.
futures.shared_future/
copy_assign.pass.cpp: Needs investigation.
copy_ctor.pass.cpp: idem.
ctor_future.pass.cpp: idem.
dtor.pass.cpp: idem.
get.pass.cpp: idem.
move_assign.pass.cpp: idem.
move_ctor.pass.cpp: idem.
wait.pass.cpp: idem.
wait_for.pass.cpp: idem.
wait_until.pass.cpp: idem.
futures.tas/
futures.task.members/
assign_move.pass.cpp: Needs investigation.
ctor_func.pass.cpp: idem.
ctor_func_alloc.pass.cpp: idem.
ctor_move.pass.cpp: idem.
dtor.pass.cpp: idem.
get_future.pass.cpp: idem.
make_ready_at_thread_exit.pass.cpp: idem.
operator.pass.cpp: idem.
reset.pass.cpp: idem.
swap.pass.cpp: idem.
futures.task.nonmembers/
swap.pass.cpp: Needs investigation.
futures.unique_future/
dtor.pass.cpp: Needs investigation.
get.pass.cpp: idem.
move_assign.pass.cpp: idem.
move_ctor.pass.cpp: idem.
share.pass.cpp: idem.
wait.pass.cpp: idem.
wait_for.pass.cpp: idem.
wait_until.pass.cpp: idem.
thread.condition/
thread.condition.condvar/
wait_for.pass.cpp: Needs investigation.
thread.condition.condvarany/
wait_for.pass.cpp: Needs investigation.
thread.mutex/
thread.lock/
thread.lock.unique/
thread.lock.unique.cons/
mutex_try_to_lock.pass.cpp: Needs investigation.
thread.threads/
thread.thread.class/
thread.thread.constr/
move.pass.cpp: Needs investigation.
thread.thread.id/
join.pass.cpp: Needs investigation.
thread.thread.static/
hardware_concurrency.pass.cpp: Needs investigation.
utilities/
meta/
meta.trans/
meta.trans.other/
aligned_storage.pass.cpp: Probably due to sizeof(long) != 8.
meta.trans.sign/
make_signed.pass.cpp: Probably due to sizeof(wchar_t) != 4.
make_unsigned.pass.cpp: idem.
meta.unary.prop.query/
alignment_of.pass.cpp: Probably a Clang problem on Windows.
</pre>
</body>
</html>
|