Skip to content

Commit 4ba56e2

Browse files
committed
rewrite version test in Rust
1 parent bf71dae commit 4ba56e2

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

tests/run-make/version/Makefile

Lines changed: 0 additions & 6 deletions
This file was deleted.

tests/run-make/version/rmake.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// This test checks the availability and version of the Rust compiler installed on the system.
2+
3+
extern crate run_make_support;
4+
5+
use run_make_support::rustc;
6+
7+
fn main() {
8+
rustc().arg("-v").run();
9+
rustc().arg("-vV").run();
10+
rustc()
11+
.arg("--version")
12+
.arg("--verbose")
13+
.run();
14+
}

0 commit comments

Comments
 (0)