mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix build scripts warnings.
This commit is contained in:
parent
1e858ecbc6
commit
fef279a8f5
3 changed files with 22 additions and 33 deletions
|
@ -2,17 +2,12 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![feature(io)]
|
||||
|
||||
use std::old_io::process::{Command, ProcessExit, StdioContainer};
|
||||
|
||||
use std::process::Command;
|
||||
|
||||
fn main() {
|
||||
let result = Command::new("make")
|
||||
assert!(Command::new("make")
|
||||
.args(&["-f", "makefile.cargo"])
|
||||
.stdout(StdioContainer::InheritFd(1))
|
||||
.stderr(StdioContainer::InheritFd(2))
|
||||
.status()
|
||||
.unwrap();
|
||||
assert_eq!(result, ProcessExit::ExitStatus(0));
|
||||
.unwrap()
|
||||
.success());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue