This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit fee9f31
authored
Unrolled build for rust-lang#128161
Rollup merge of rust-lang#128161 - EtomicBomb:just-compiletest, r=notriddle
nested aux-build in tests/rustdoc/ tests
* Fixes bug that prevented using nested aux-build in `tests/rustdoc/` tests. Before, `fn document` and the auxiliary builder disagreed about where to find the nested aux-build source file (`auxiliary/auxiliary/aux.rs` vs `auxiliary/aux.rs`), preventing them from building. Picked the latter in line with other builders in compiletest.
* Adds `//@ doc-flags` header, which forwards flags to rustdoc and not rustc.
* Adds `//@ unique-doc-out-dir` header, which sets the --out-dir for the rustdoc invocation to a unique directory: `<root out dir>/docs/<test name>/doc`
* Changes working directory of the rustdoc invocation to the root out directory (common among all aux-builds). Prior art: exec_compiled_test in runtest.rs
* Adds tests that use nested aux builds and new headers
These changes provide useful capabilities for writing rustdoc tests on their own. They are also needed to test the implementation for the [mergable-rustdoc-cross-crate-info](rust-lang/rfcs#3662) RFC.
try-job: x86_64-msvcFile tree
31 files changed
+318
-35
lines changed- src/tools/compiletest/src
- runtest
- tests/rustdoc/cross-crate-info
- cargo-transitive-no-index
- auxiliary
- cargo-transitive
- auxiliary
- cargo-two-no-index
- auxiliary
- cargo-two
- auxiliary
- index-on-last
- auxiliary
- kitchen-sink
- auxiliary
- single-crate-baseline
- single-crate-no-index
- transitive
- auxiliary
- two
- auxiliary
- working-dir-examples
- write-docs-somewhere-else
- auxiliary
31 files changed
+318
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| 230 | + | |
229 | 231 | | |
230 | 232 | | |
231 | 233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
| |||
220 | 225 | | |
221 | 226 | | |
222 | 227 | | |
| 228 | + | |
223 | 229 | | |
224 | 230 | | |
| 231 | + | |
225 | 232 | | |
226 | 233 | | |
227 | 234 | | |
| |||
267 | 274 | | |
268 | 275 | | |
269 | 276 | | |
| 277 | + | |
270 | 278 | | |
271 | 279 | | |
272 | 280 | | |
| |||
281 | 289 | | |
282 | 290 | | |
283 | 291 | | |
| 292 | + | |
284 | 293 | | |
285 | 294 | | |
286 | 295 | | |
| |||
378 | 387 | | |
379 | 388 | | |
380 | 389 | | |
| 390 | + | |
| 391 | + | |
381 | 392 | | |
382 | 393 | | |
383 | 394 | | |
| |||
415 | 426 | | |
416 | 427 | | |
417 | 428 | | |
| 429 | + | |
| 430 | + | |
418 | 431 | | |
419 | 432 | | |
420 | 433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
723 | 724 | | |
724 | 725 | | |
725 | 726 | | |
726 | | - | |
| 727 | + | |
727 | 728 | | |
728 | 729 | | |
729 | 730 | | |
| |||
1579 | 1580 | | |
1580 | 1581 | | |
1581 | 1582 | | |
1582 | | - | |
| 1583 | + | |
1583 | 1584 | | |
1584 | 1585 | | |
1585 | | - | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
1586 | 1589 | | |
1587 | 1590 | | |
1588 | | - | |
| 1591 | + | |
1589 | 1592 | | |
1590 | 1593 | | |
1591 | 1594 | | |
| |||
1596 | 1599 | | |
1597 | 1600 | | |
1598 | 1601 | | |
1599 | | - | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
1600 | 1605 | | |
1601 | 1606 | | |
1602 | 1607 | | |
| |||
1606 | 1611 | | |
1607 | 1612 | | |
1608 | 1613 | | |
1609 | | - | |
1610 | 1614 | | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
1611 | 1634 | | |
1612 | 1635 | | |
1613 | 1636 | | |
1614 | 1637 | | |
1615 | 1638 | | |
1616 | 1639 | | |
1617 | | - | |
| 1640 | + | |
1618 | 1641 | | |
1619 | 1642 | | |
1620 | 1643 | | |
1621 | 1644 | | |
1622 | 1645 | | |
1623 | | - | |
| 1646 | + | |
| 1647 | + | |
1624 | 1648 | | |
1625 | 1649 | | |
1626 | 1650 | | |
| |||
1630 | 1654 | | |
1631 | 1655 | | |
1632 | 1656 | | |
1633 | | - | |
| 1657 | + | |
1634 | 1658 | | |
1635 | 1659 | | |
1636 | 1660 | | |
| |||
1828 | 1852 | | |
1829 | 1853 | | |
1830 | 1854 | | |
1831 | | - | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
1832 | 1863 | | |
1833 | | - | |
| 1864 | + | |
1834 | 1865 | | |
1835 | 1866 | | |
1836 | 1867 | | |
| |||
2545 | 2576 | | |
2546 | 2577 | | |
2547 | 2578 | | |
2548 | | - | |
| 2579 | + | |
2549 | 2580 | | |
2550 | 2581 | | |
2551 | 2582 | | |
| |||
2581 | 2612 | | |
2582 | 2613 | | |
2583 | 2614 | | |
2584 | | - | |
| 2615 | + | |
2585 | 2616 | | |
2586 | 2617 | | |
2587 | 2618 | | |
| |||
2664 | 2695 | | |
2665 | 2696 | | |
2666 | 2697 | | |
2667 | | - | |
| 2698 | + | |
2668 | 2699 | | |
2669 | 2700 | | |
2670 | 2701 | | |
| |||
2723 | 2754 | | |
2724 | 2755 | | |
2725 | 2756 | | |
2726 | | - | |
| 2757 | + | |
2727 | 2758 | | |
2728 | 2759 | | |
2729 | 2760 | | |
| |||
2847 | 2878 | | |
2848 | 2879 | | |
2849 | 2880 | | |
2850 | | - | |
| 2881 | + | |
2851 | 2882 | | |
2852 | 2883 | | |
2853 | 2884 | | |
| |||
2923 | 2954 | | |
2924 | 2955 | | |
2925 | 2956 | | |
2926 | | - | |
2927 | | - | |
2928 | | - | |
2929 | | - | |
2930 | | - | |
2931 | | - | |
2932 | | - | |
2933 | | - | |
2934 | | - | |
2935 | | - | |
2936 | | - | |
| 2957 | + | |
| 2958 | + | |
| 2959 | + | |
2937 | 2960 | | |
2938 | 2961 | | |
2939 | 2962 | | |
2940 | | - | |
2941 | | - | |
2942 | | - | |
2943 | | - | |
| 2963 | + | |
| 2964 | + | |
| 2965 | + | |
2944 | 2966 | | |
2945 | 2967 | | |
2946 | 2968 | | |
2947 | 2969 | | |
2948 | 2970 | | |
2949 | 2971 | | |
2950 | | - | |
| 2972 | + | |
| 2973 | + | |
| 2974 | + | |
2951 | 2975 | | |
2952 | 2976 | | |
2953 | 2977 | | |
| |||
3779 | 3803 | | |
3780 | 3804 | | |
3781 | 3805 | | |
3782 | | - | |
| 3806 | + | |
3783 | 3807 | | |
3784 | 3808 | | |
3785 | 3809 | | |
| |||
4095 | 4119 | | |
4096 | 4120 | | |
4097 | 4121 | | |
4098 | | - | |
| 4122 | + | |
4099 | 4123 | | |
4100 | 4124 | | |
4101 | 4125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments