From 2cfca3511b4da5d151e2c0cb3975beabba08dd4c Mon Sep 17 00:00:00 2001 From: Haibo Huang Date: Wed, 6 May 2020 18:54:43 -0700 Subject: Upgrade rust/crates/syn to 1.0.19 Test: None Change-Id: I1a75beb98d165ed3998145eae339a23526412cfa --- tests/common/mod.rs | 5 ----- tests/repo/mod.rs | 9 --------- 2 files changed, 14 deletions(-) (limited to 'tests') diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 3dd25527..8b784bee 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -12,8 +12,3 @@ pub fn abort_after() -> usize { Err(_) => usize::max_value(), } } - -/// Are we running in travis-ci.org. -pub fn travis_ci() -> bool { - env::var_os("TRAVIS").is_some() -} diff --git a/tests/repo/mod.rs b/tests/repo/mod.rs index c1dc7e0a..eb900bc1 100644 --- a/tests/repo/mod.rs +++ b/tests/repo/mod.rs @@ -1,7 +1,6 @@ mod progress; use self::progress::Progress; -use crate::common; use anyhow::Result; use flate2::read::GzDecoder; use std::fs; @@ -82,10 +81,6 @@ pub fn base_dir_filter(entry: &DirEntry) -> bool { // https://github.com/dtolnay/syn/issues/762 "test/ui/parser/foreign-static-syntactic-pass.rs" | - // TODO: extern type with bound: `extern { type A: Ord; }` - // https://github.com/dtolnay/syn/issues/763 - "test/ui/parser/foreign-ty-syntactic-pass.rs" | - // TODO: top level const/static without value: `const X: u8;` // https://github.com/dtolnay/syn/issues/764 "test/ui/parser/item-free-const-no-body-syntactic-pass.rs" | @@ -167,10 +162,6 @@ fn download_and_unpack() -> Result<()> { let relative = path.strip_prefix(&prefix)?; let out = tests_rust.join(relative); entry.unpack(&out)?; - if common::travis_ci() { - // Something about this makes the travis build not deadlock... - errorf!("."); - } } fs::write("tests/rust/COMMIT", REVISION)?; -- cgit v1.2.3