Add torture run options to makefile (#992)
* Add torture option to chipyard makefile * Bump spike to get the signature bug fix
This commit is contained in:
Submodule tools/torture updated: 59b0f0f224...b2b66a66d5
18
tools/torture.mk
Normal file
18
tools/torture.mk
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user