Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing guide: update to use
test_harness
& fix problems.
rustdoc now supports compiling things with `--test` so the examples in this guide can be compiled & tested properly (revealing a few issues & out-dated behaviours). Also, reword an example to be clearer, cc #12242.
- Loading branch information
Showing
1 changed file
with
21 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cb6219f
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 alexcrichton
at huonw@cb6219f
cb6219f
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 huonw/rust/rustdoc-testharnesss = cb6219f into auto
cb6219f
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.
huonw/rust/rustdoc-testharnesss = cb6219f merged ok, testing candidate = 43a877ca
cb6219f
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-nopt-t/builds/5489
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/6299
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/6298
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/5394
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/5403
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/6396
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/5485
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/5492
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/6399
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/5484
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/3285
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/6389
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/5500
cb6219f
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 alexcrichton
at huonw@cb6219f
cb6219f
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 huonw/rust/rustdoc-testharnesss = cb6219f into auto
cb6219f
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.
huonw/rust/rustdoc-testharnesss = cb6219f merged ok, testing candidate = 282705c
cb6219f
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.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/6300
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/6299
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/5395
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/5404
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/6397
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/5486
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/5493
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/6400
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/5485
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/5490
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/5551
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/3286
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/6390
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/5501
cb6219f
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.
fast-forwarding master to auto = 282705c