Add missing : after *llvm-version

This commit is contained in:
Lzu Tao 2020-07-19 10:45:31 +00:00
parent 5e5d816323
commit 2bcefa8d81
4 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@
// revisions:x86_64 i686 arm
// min-llvm-version 9.0
// min-llvm-version: 9.0
//[x86_64] compile-flags: --target x86_64-unknown-uefi
//[i686] compile-flags: --target i686-unknown-linux-musl

View File

@ -1,4 +1,4 @@
// min-llvm-version 8.0
// min-llvm-version: 8.0
// compile-flags: -C no-prepopulate-passes -C force-unwind-tables=y
#![crate_type="lib"]

View File

@ -2,7 +2,7 @@
// being run when compiling with new LLVM pass manager and ThinLTO.
// Note: The issue occurred only on non-zero opt-level.
//
// min-llvm-version 9.0
// min-llvm-version: 9.0
// needs-sanitizer-support
// needs-sanitizer-address
//

View File

@ -120,16 +120,16 @@ fn llvm_version() {
let mut config = config();
config.llvm_version = Some("8.1.2-rust".to_owned());
assert!(parse_rs(&config, "// min-llvm-version 9.0").ignore);
assert!(parse_rs(&config, "// min-llvm-version: 9.0").ignore);
config.llvm_version = Some("9.0.1-rust-1.43.0-dev".to_owned());
assert!(parse_rs(&config, "// min-llvm-version 9.2").ignore);
assert!(parse_rs(&config, "// min-llvm-version: 9.2").ignore);
config.llvm_version = Some("9.3.1-rust-1.43.0-dev".to_owned());
assert!(!parse_rs(&config, "// min-llvm-version 9.2").ignore);
assert!(!parse_rs(&config, "// min-llvm-version: 9.2").ignore);
config.llvm_version = Some("10.0.0-rust".to_owned());
assert!(!parse_rs(&config, "// min-llvm-version 9.0").ignore);
assert!(!parse_rs(&config, "// min-llvm-version: 9.0").ignore);
}
#[test]