[libcxx][tests] Introduce 32-bit feature and use it for stringstream gcount test
authorAzat Khuzhin <a3at.mail@gmail.com>
Tue, 23 May 2023 17:28:30 +0000 (19:28 +0200)
committerMark de Wever <koraq@xs4all.nl>
Tue, 23 May 2023 17:29:15 +0000 (19:29 +0200)
commitd4d96c44440535a43cc6048fc3af3c10c115c1fb
treef61d5698a00b35a1d4078ea737d8f4af775a2a82
parent3c276eaf8f4a4adab3c0b25c78b5c1fdbf071a94
[libcxx][tests] Introduce 32-bit feature and use it for stringstream gcount test

This will avoid hardcoding all unsupported targets, since even after one
more follow up fix [1], there is one more failure.

  [1]: https://reviews.llvm.org/D150886

Plus, if you want to run it locally on some target that CI does not
covers, it could also false-positively fail, which is not good.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D151046
libcxx/test/std/input.output/string.streams/stringstream.members/gcount.pass.cpp
libcxx/utils/libcxx/test/features.py