You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/tests/ci.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Our CI is primarily executed on [GitHub Actions], with a single workflow defined
28
28
in [`.github/workflows/ci.yml`], which contains a bunch of steps that are
29
29
unified for all CI jobs that we execute. When a commit is pushed to a
30
30
corresponding branch or a PR, the workflow executes the
31
-
[`src/ci/github-actions/ci.py`]script, which dynamically generates the specific CI
31
+
[`src/ci/citool`]crate, which dynamically generates the specific CI
32
32
jobs that should be executed. This script uses the [`jobs.yml`] file as an
33
33
input, which contains a declarative configuration of all our CI jobs.
34
34
@@ -299,7 +299,7 @@ platform’s custom [Docker container]. This has a lot of advantages for us:
299
299
- We can avoid reinstalling tools (like QEMU or the Android emulator) every time
300
300
thanks to Docker image caching.
301
301
- Users can run the same tests in the same environment locally by just running
302
-
`python3 src/ci/github-actions/ci.py run-local <job-name>`, which is awesome to debug failures. Note that there are only linux docker images available locally due to licensing and
302
+
`cargo run --manifest-path src/ci/citool/Cargo.toml run-local <job-name>`, which is awesome to debug failures. Note that there are only linux docker images available locally due to licensing and
303
303
other restrictions.
304
304
305
305
The docker images prefixed with `dist-` are used for building artifacts while
Copy file name to clipboardExpand all lines: src/tests/directives.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,7 @@
6
6
FIXME(jieyouxu) completely revise this chapter.
7
7
-->
8
8
9
-
Directives are special comments that tell compiletest how to build and interpret
10
-
a test. They must appear before the Rust source in the test. They may also
11
-
appear in `rmake.rs` or legacy Makefiles for [run-make
12
-
tests](compiletest.md#run-make-tests).
9
+
Directives are special comments that tell compiletest how to build and interpret a test. They must appear before the Rust source in the test. They may also appear in `rmake.rs`[run-make tests](compiletest.md#run-make-tests).
13
10
14
11
They are normally put after the short comment that explains the point of this
15
12
test. Compiletest test suites use `//@` to signal that a comment is a directive.
@@ -142,6 +139,7 @@ Some examples of `X` in `ignore-X` or `only-X`:
142
139
matches that target as well as the emscripten targets.
143
140
- Pointer width: `32bit`, `64bit`
144
141
- Endianness: `endian-big`
142
+
- Binary format: `elf`
145
143
- Stage: `stage0`, `stage1`, `stage2`
146
144
- Channel: `stable`, `beta`
147
145
- When cross compiling: `cross-compile`
@@ -221,8 +219,6 @@ The following directives will check LLVM support:
221
219
[`aarch64-gnu-debug`]), which only runs a
222
220
subset of `run-make` tests. Other tests with this directive will not
223
221
run at all, which is usually not what you want.
224
-
- Notably, the [`aarch64-gnu-debug`] CI job *currently* only runs `run-make`
225
-
tests which additionally contain `clang` in their test name.
226
222
227
223
See also [Debuginfo tests](compiletest.md#debuginfo-tests) for directives for
0 commit comments