about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorAndy Wang <cbeuw.andy@gmail.com>2021-08-19 19:04:46 +0100
committerAndy Wang <cbeuw.andy@gmail.com>2021-08-19 19:04:46 +0100
commit08c55bdce592154dbbe36588f4e228b4b3a0ecaf (patch)
treeb75dc8af36d640d7200889b357db8db8ddfa3838 /src/test
parent70b9a7b988772817284dda19a5cd6e0d46cb7dbb (diff)
downloadrust-08c55bdce592154dbbe36588f4e228b4b3a0ecaf.tar.gz
rust-08c55bdce592154dbbe36588f4e228b4b3a0ecaf.zip
Test presence of remapped path
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-make-fulldeps/remap-path-prefix/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/remap-path-prefix/Makefile b/src/test/run-make-fulldeps/remap-path-prefix/Makefile
index c923d7e8011..b01f406e558 100644
--- a/src/test/run-make-fulldeps/remap-path-prefix/Makefile
+++ b/src/test/run-make-fulldeps/remap-path-prefix/Makefile
@@ -3,4 +3,5 @@
 # Checks if remapping works if the remap-from string contains path to the working directory plus more
 all:
 	$(RUSTC) --remap-path-prefix $$PWD/auxiliary=/the/aux --crate-type=lib --emit=metadata auxiliary/lib.rs
+	grep "/the/aux/lib.rs" $(TMPDIR)/liblib.rmeta || exit 1
 	! grep "$$PWD/auxiliary" $(TMPDIR)/liblib.rmeta || exit 1