-
Notifications
You must be signed in to change notification settings - Fork 621
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add torture run options to makefile (#992)
* Add torture option to chipyard makefile * Bump spike to get the signature bug fix
- Loading branch information
Showing
6 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule riscv-isa-sim
updated
213 files
Submodule riscv-isa-sim
updated
from bf4b1e to ce42f1
Submodule torture
updated
4 files
+26 −0 | build.sbt | |
+1 −1 | project/build.properties | |
+0 −30 | project/build.scala | |
+ − | sbt-launch.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |