Skip to content

Commit

Permalink
tests: add run-make-fulldeps split-dwarf test
Browse files Browse the repository at this point in the history
This commit adds a run-make-fulldeps test which checks that a DWARF
package file is emitted.

Signed-off-by: David Wood <david@davidtw.co>
  • Loading branch information
davidtwco committed Dec 16, 2020
1 parent 6c4350d commit 2b22670
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/test/run-make-fulldeps/split-dwarf/Makefile
@@ -0,0 +1,8 @@
-include ../tools.mk

# only-linux

all:
$(RUSTC) -Z split-dwarf=split foo.rs
rm $(TMPDIR)/foo.dwp
rm $(TMPDIR)/$(call BIN,foo)
1 change: 1 addition & 0 deletions src/test/run-make-fulldeps/split-dwarf/foo.rs
@@ -0,0 +1 @@
fn main() {}

0 comments on commit 2b22670

Please sign in to comment.