aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-05-06 18:54:43 -0700
committerHaibo Huang <hhb@google.com>2020-05-06 18:54:43 -0700
commit2cfca3511b4da5d151e2c0cb3975beabba08dd4c (patch)
tree8a967cdb4cefab94d9195c814d6fc7d15c8a8780 /tests
parent1d604e4bcd6732c040c3b63184fb40b2c1e1fe9b (diff)
downloadsyn-2cfca3511b4da5d151e2c0cb3975beabba08dd4c.tar.gz
Upgrade rust/crates/syn to 1.0.19
Test: None Change-Id: I1a75beb98d165ed3998145eae339a23526412cfa
Diffstat (limited to 'tests')
-rw-r--r--tests/common/mod.rs5
-rw-r--r--tests/repo/mod.rs9
2 files changed, 0 insertions, 14 deletions
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)?;