]> git.proxmox.com Git - cargo.git/commit
Auto merge of #3509 - froydnj:colored-shell-tests, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 6 Jan 2017 20:57:04 +0000 (20:57 +0000)
committerbors <bors@rust-lang.org>
Fri, 6 Jan 2017 20:57:04 +0000 (20:57 +0000)
commit40a4ce61b0114ee3b4b31205ad00e59df5be692f
treea72660ad37736d65890de100e7f8c2d3982cd6aa
parentce30a784e15e7019fe5459c418d48e01fdd1a43f
parent1621bd0baf25f77a2f6b7765ee79183f2684bf6e
Auto merge of #3509 - froydnj:colored-shell-tests, r=alexcrichton

disable color shell tests for terminals that don't support color

Some terminals (e.g. running a shell inside Emacs's shell-mode) don't
support color, and running tests that assume the terminal supports color
don't work so well.  Instead, if color is expected, check the terminal
for whether it supports color or not, and act accordingly.