forked from ucb-bar/chipyard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtorture.mk
18 lines (15 loc) · 828 Bytes
/
torture.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
HELP_COMMANDS += \
" torture = run torture on the RTL testbench" \
" torture-overnight = run torture overnight tests (set TORTURE_ONIGHT_OPTIONS to pass test options)"
#########################################################################################
# run torture rules
#########################################################################################
.PHONY: torture torture-overnight
torture: $(output_dir) $(sim)
$(MAKE) -C $(base_dir)/tools/torture/output clean
$(MAKE) -C $(base_dir)/tools/torture R_SIM=$(sim) gen rtest
cp -r $(base_dir)/tools/torture/output $(output_dir)/torture
rm $(output_dir)/torture/Makefile
TORTURE_ONIGHT_OPTIONS :=
torture-overnight: $(output_dir) $(sim)
$(MAKE) -C $(base_dir)/tools/torture R_SIM=$(sim) OPTIONS="$(TORTURE_ONIGHT_OPTIONS)" rnight