Skip to content

Commit 95fd357

Browse files
committed
Correct test which wasn't failing correctly
1 parent 3281022 commit 95fd357

File tree

1 file changed

+4
-4
lines changed
  • src/test/run-make-fulldeps/split-dwarf

1 file changed

+4
-4
lines changed

src/test/run-make-fulldeps/split-dwarf/Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
all: packed remapped
66

77
remapped:
8-
$(RUSTC) -Z unstable-options -C split-debuginfo=packed -C debuginfo=2 --remap-path-prefix $$PWD=/a foo.rs -g
9-
objdump -Wi $(TMPDIR)/foo | grep $$PWD && exit 1 || exit 0
8+
$(RUSTC) -Z unstable-options -C split-debuginfo=packed -C debuginfo=2 --remap-path-prefix $(TMPDIR)=/a foo.rs -g
9+
objdump -Wi $(TMPDIR)/foo | grep DW_AT_GNU_dwo_name | (! grep $(TMPDIR)) || exit 1
1010

11-
$(RUSTC) -Z unstable-options -C split-debuginfo=unpacked -C debuginfo=2 --remap-path-prefix $$PWD=/a foo.rs -g
12-
objdump -Wi $(TMPDIR)/foo | grep $$PWD && exit 1 || exit 0
11+
$(RUSTC) -Z unstable-options -C split-debuginfo=unpacked -C debuginfo=2 --remap-path-prefix $(TMPDIR)=/a foo.rs -g
12+
objdump -Wi $(TMPDIR)/foo | grep DW_AT_GNU_dwo_name | (! grep $(TMPDIR)) || exit 1
1313

1414
packed:
1515
$(RUSTC) -Z unstable-options -C split-debuginfo=packed -C debuginfo=2 foo.rs -g

0 commit comments

Comments
 (0)