Commit 5c852fc
authored
[libc++][C++03] Fix a bunch of random tests (#144117)
This fixes/removes a bunch of random tests. They all failed in
relatively simple to fix ways.
Specificially (all inside `libcxx/test/libcxx-03`):
- `utilities/template.bitset/includes.pass.cpp`: the header guards have
different names now (guard names fixed)
- `utilities/meta/is_referenceable.compile.pass.cpp`: The name changed
from `__libcpp_is_referenceable` (reverted name)
- `utilities/function.objects/refwrap/desugars_to.compile.pass.cpp`:
Optimization has been added after the header split (test removed)
- `type_traits/is_replaceable.compile.pass.cpp`: `__is_replacable_v` has
been added after the header split (test removed)
- `type_traits/is_constant_evaluated.pass.cpp`: Ran C++11 code
accidentally (C++11 test parts removed)
- `type_traits/desugars_to.compile.pass.cpp`: Optimization has been
added after the header split (test removed)
- `numerics/bit.ops.pass.cpp`: Tried to include header which doesn't
exist (removed include and related code which wasn't executed in C++03)
- `experimental/fexperimental-library.compile.pass.cpp`: This test is
irrelevant for C++03, since there are no C++03 experimental features
(test removed)
- `containers/container_traits.compile.pass.cpp`: `container_traits`
have been introduced after the header split (test removed)1 parent 884c03e commit 5c852fc
File tree
8 files changed
+118
-692
lines changed- libcxx/test/libcxx-03
- containers
- iterators/bounded_iter
- numerics
- type_traits
- utilities
- function.objects/refwrap
- meta
8 files changed
+118
-692
lines changedLines changed: 0 additions & 165 deletions
This file was deleted.
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | 14 | | |
17 | | - | |
| 15 | + | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 12 | + | |
| 13 | + | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
| |||
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 27 | | |
36 | 28 | | |
37 | 29 | | |
| |||
Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 26 | | |
33 | 27 | | |
34 | 28 | | |
| |||
0 commit comments