mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
433da1fc04
They pass fine.
13 lines
430 B
Makefile
13 lines
430 B
Makefile
# needs-profiler-support
|
|
|
|
include ../tools.mk
|
|
|
|
all:
|
|
$(RUSTC) -g -Z profile test.rs
|
|
$(call RUN,test) || exit 1
|
|
[ -e "$(TMPDIR)/test.gcno" ] || (echo "No .gcno file"; exit 1)
|
|
[ -e "$(TMPDIR)/test.gcda" ] || (echo "No .gcda file"; exit 1)
|
|
$(RUSTC) -g -Z profile -Z profile-emit=$(TMPDIR)/abc/abc.gcda test.rs
|
|
$(call RUN,test) || exit 1
|
|
[ -e "$(TMPDIR)/abc/abc.gcda" ] || (echo "gcda file not emitted to defined path"; exit 1)
|