From 06d44aaad34a8599e398b5586cdf7d9ab449a7c9 Mon Sep 17 00:00:00 2001 From: Vadim Chugunov Date: Fri, 8 Aug 2014 11:03:48 -0700 Subject: [PATCH] Fix many-crates-but-no-match test. (Issue #16348) --- src/test/run-make/many-crates-but-no-match/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/run-make/many-crates-but-no-match/Makefile b/src/test/run-make/many-crates-but-no-match/Makefile index 4d80c09c26b33..da5fc78f3284e 100644 --- a/src/test/run-make/many-crates-but-no-match/Makefile +++ b/src/test/run-make/many-crates-but-no-match/Makefile @@ -20,13 +20,13 @@ all: mkdir -p $(A1) $(A2) $(A3) $(RUSTC) --crate-type=rlib crateA1.rs mv $(TMPDIR)/$(call RLIB_GLOB,crateA) $(A1) - $(RUSTC) --crate-type=rlib -L$(A1) crateB.rs + $(RUSTC) --crate-type=rlib -L $(A1) crateB.rs $(RUSTC) --crate-type=rlib crateA2.rs mv $(TMPDIR)/$(call RLIB_GLOB,crateA) $(A2) $(RUSTC) --crate-type=rlib crateA3.rs mv $(TMPDIR)/$(call RLIB_GLOB,crateA) $(A3) # Ensure crateC fails to compile since A1 is "missing" and A2/A3 hashes do not match - $(RUSTC) -L$(A2) -L$(A3) crateC.rs >$(LOG) 2>&1 || true + $(RUSTC) -L $(A2) -L $(A3) crateC.rs >$(LOG) 2>&1 || true grep "error: found possibly newer version of crate \`crateA\` which \`crateB\` depends on" $(LOG) grep "note: perhaps this crate needs to be recompiled?" $(LOG) grep "note: crate \`crateA\` path #1:" $(LOG)