Disable glibc tests on vxworks
VxWorks does not provide glibc, but we still need to test rustc on VxWorks.
This commit is contained in:
parent
05f2326c05
commit
b07d175388
1 changed files with 2 additions and 0 deletions
|
@ -1,12 +1,14 @@
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg(not(target_os = "vxworks"))]
|
||||||
fn test_glibc_version() {
|
fn test_glibc_version() {
|
||||||
// This mostly just tests that the weak linkage doesn't panic wildly...
|
// This mostly just tests that the weak linkage doesn't panic wildly...
|
||||||
glibc_version();
|
glibc_version();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg(not(target_os = "vxworks"))]
|
||||||
fn test_parse_glibc_version() {
|
fn test_parse_glibc_version() {
|
||||||
let cases = [
|
let cases = [
|
||||||
("0.0", Some((0, 0))),
|
("0.0", Some((0, 0))),
|
||||||
|
|
Loading…
Reference in a new issue