Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide a more helpful error for tests that fail due to noexec
The rustdoc tests create and execute a file in a temporary directory. By default on UNIX-like platforms this is in `/tmp`, which some users mount with the `noexec` option. In those cases, the tests fail in a mysterious way. This change adds a note that suggests what the problem might be, if the error looks like it could have been caused by the `noexec` setup. Closes #12558
- Loading branch information
766dcf1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from brson
at https://github.com/felixc/rust/commit/766dcf1a2719828ac0be3f2ad688a6f623c5a9dc
766dcf1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging felixc/rust/noexec-error-msg = 766dcf1 into auto
766dcf1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
felixc/rust/noexec-error-msg = 766dcf1 merged ok, testing candidate = d6752d2a
766dcf1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1460
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/4506
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/2348
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/2349
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/4504
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3610
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/4519
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3607
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3613
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4521
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3607
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3612
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/3681
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/4513
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/3614
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3620
exception: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4280