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::*;
|
||||
|
||||
#[test]
|
||||
#[cfg(not(target_os = "vxworks"))]
|
||||
fn test_glibc_version() {
|
||||
// This mostly just tests that the weak linkage doesn't panic wildly...
|
||||
glibc_version();
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(not(target_os = "vxworks"))]
|
||||
fn test_parse_glibc_version() {
|
||||
let cases = [
|
||||
("0.0", Some((0, 0))),
|
||||
|
|
Loading…
Reference in a new issue