summary refs log tree commit diff
path: root/src/test/run-make/profile/Makefile
blob: 7300bfc9553636740e4486822d3cf4e489a85fc6 (plain)
1
2
3
4
5
6
7
8
9
-include ../tools.mk

all:
ifeq ($(PROFILER_SUPPORT),1)
	$(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)
endif