Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update compiler test documentation #52955

Merged
merged 1 commit into from
Aug 13, 2018
Merged

Conversation

tromey
Copy link
Contributor

@tromey tromey commented Aug 1, 2018

Update the compiler test documentation to document ignore-gdb-version
and min-system-llvm-version; and expand the min-gdb-version,
min-lldb-version, and min-llvm-version documentation a little.

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 1, 2018
@@ -53,6 +53,7 @@ be compiled or run.
* `ignore-pretty` will not compile the pretty-printed test (this is done to test the pretty-printer, but might not always work)
* `ignore-test` always ignores the test
* `ignore-lldb` and `ignore-gdb` will skip a debuginfo test on that debugger.
* `ignore-gdb-version` can be used to ignore the test when certain gdb versions are used
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm I feel like this document ought to be removed and just become a pointer to

https://rust-lang-nursery.github.io/rustc-guide/tests/intro.html

(cc @mark-i-m, thoughts?)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this PR would be resubmitted at rustc-guide, natch

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, but first we should add any additional content from here to the guide

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there anything in here that is not present in the guide? I guess we have to check

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked and the guide seems like a superset of what's in this file.

@nikomatsakis nikomatsakis added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 6, 2018
@tromey
Copy link
Contributor Author

tromey commented Aug 9, 2018

rust-lang/rustc-dev-guide#179

@nikomatsakis
Copy link
Contributor

Merged. @tromey would you object to repurposing this PR to make this a "soft link" over to the guide?

@tromey
Copy link
Contributor Author

tromey commented Aug 9, 2018

Not at all, I'll do it soon.

Update the compiler test documentation to point to the relevant
rustc-guide page.
@tromey tromey force-pushed the compiler-test-docs branch from a97cb02 to 8a76656 Compare August 10, 2018 14:06
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-5.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:04:01] curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
[00:04:02] Command failed. Attempt 2/5:
[00:06:02] error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
[00:06:02] fatal: The remote end hung up unexpectedly
[00:06:02] fatal: protocol error: bad pack header
[00:06:02] Failed to clone 'src/doc/reference'. Retry scheduled
[00:06:02] Cloning into '/home/travis/build/rust-lang/rust/src/liblibc'...
[00:06:02] fatal: unable to access 'https://github.com/rust-lang/libc.git/': GnuTLS recv error (-9): A TLS packet with unexpected length was received.
[00:06:02] fatal: clone of 'https://github.com/rust-lang/libc.git' into submodule path '/home/travis/build/rust-lang/rust/src/liblibc' failed
---
[00:08:21] Submodule 'compiler-rt' (https://github.com/rust-lang/compiler-rt) registered for path 'src/libcompiler_builtins/compiler-rt'
[00:08:21] Submodule 'libm' (https://github.com/japaric/libm) registered for path 'src/libcompiler_builtins/libm'
[00:08:21] Cloning into '/home/travis/build/rust-lang/rust/src/libcompiler_builtins/compiler-rt'...
[00:08:25] Cloning into '/home/travis/build/rust-lang/rust/src/libcompiler_builtins/libm'...
[00:11:23] fatal: unable to access 'https://github.com/japaric/libm/': GnuTLS recv error (-9): A TLS packet with unexpected length was received.
[00:11:23] fatal: clone of 'https://github.com/japaric/libm' into submodule path '/home/travis/build/rust-lang/rust/src/libcompiler_builtins/libm' failed
[00:11:23] Failed to clone 'libm'. Retry scheduled
[00:11:24] Submodule path 'src/libcompiler_builtins/compiler-rt': checked out '8964c7a0c4d1dc8c45b5adee6fe5ae3db057ab98'
[00:11:24] Submodule path 'src/libcompiler_builtins/libm': checked out '96e36ea2620f9fbbaa46a01694a2fa3ef6c2fb7e'
[00:11:24] Submodule path 'src/libcompiler_builtins/libm': checked out '96e36ea2620f9fbbaa46a01694a2fa3ef6c2fb7e'
[00:11:24] Submodule path 'src/liblibc': checked out '6bdbf5dc937459bd10e6bc4dc52b0adbd8cf4358'
---
[00:17:11] Attempting with retry: docker build --rm -t rust-ci -f /home/travis/build/rust-lang/rust/src/ci/docker/x86_64-gnu-llvm-5.0/Dockerfile /home/travis/build/rust-lang/rust/src/ci/docker
[00:17:11] Sending build context to Docker daemon  501.8kB
[00:17:11] Step 1/6 : FROM ubuntu:16.04
[00:17:12] 16.04: Pulling from library/ubuntu
[00:19:43] Get https://registry-1.docker.io/v2/library/ubuntu/manifests/sha256:da6fba872ef36657a66384ffb2c2b5b5dc1672ec5f3b310a613c0ceb6f9b299a: read tcp 10.20.2.248:33692->52.54.155.177:443: read: connection reset by peer
[00:19:44] Sending build context to Docker daemon  501.8kB
[00:19:44] Step 1/6 : FROM ubuntu:16.04
[00:19:45] 16.04: Pulling from library/ubuntu
[00:19:45] Digest: sha256:3097ac92b852f878f802c22a38f97b097b4084dbef82893ba453ba0297d76a6a

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@tromey
Copy link
Contributor Author

tromey commented Aug 10, 2018

I don't think that failure is related to this patch.

@nikomatsakis
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Aug 10, 2018

📌 Commit 8a76656 has been approved by nikomatsakis

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 10, 2018
@tromey
Copy link
Contributor Author

tromey commented Aug 11, 2018

bors relabeled this as waiting on me, but I don't understand what I am supposed to do.

@mark-i-m
Copy link
Member

Thanks :)

kennytm added a commit to kennytm/rust that referenced this pull request Aug 11, 2018
…tsakis

Update compiler test documentation

Update the compiler test documentation to document ignore-gdb-version
and min-system-llvm-version; and expand the min-gdb-version,
min-lldb-version, and min-llvm-version documentation a little.
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Aug 12, 2018
…tsakis

Update compiler test documentation

Update the compiler test documentation to document ignore-gdb-version
and min-system-llvm-version; and expand the min-gdb-version,
min-lldb-version, and min-llvm-version documentation a little.
bors added a commit that referenced this pull request Aug 12, 2018
Rollup of 15 pull requests

Successful merges:

 - #52955 (Update compiler test documentation)
 - #53019 (Don't collect() when size_hint is useless)
 - #53025 (Consider changing assert! to debug_assert! when it calls visit_with)
 - #53059 (Remove explicit returns where unnecessary)
 - #53165 ( Add aarch64-unknown-netbsd target)
 - #53210 (Deny future duplication of rustc-ap-syntax)
 - #53223 (A few cleanups for rustc_data_structures)
 - #53230 ([nll] enable feature(nll) on various crates for bootstrap: part 4)
 - #53231 (Add let keyword doc)
 - #53240 (Add individual documentation for <integer>`.swap_bytes`/.`reverse_bits`)
 - #53253 (Remove unwanted console log)
 - #53264 (Show that Command can be reused and remodified)
 - #53267 (Fix styles)
 - #53273 (Add links to std::char::REPLACEMENT_CHARACTER from docs.)
 - #53283 (wherein we suggest float for integer literals where a float was expected)

Failed merges:

r? @ghost
@bors bors merged commit 8a76656 into rust-lang:master Aug 13, 2018
@tromey tromey deleted the compiler-test-docs branch August 13, 2018 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants