Add missing : after *llvm-version
This commit is contained in:
parent
5e5d816323
commit
2bcefa8d81
@ -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
|
||||
|
@ -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"]
|
||||
|
@ -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
|
||||
//
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user