[make] add a phony target for running scala tests

This commit is contained in:
David Biancolin 2020-04-24 11:34:04 -07:00
parent c5a3d1c270
commit aea3f70e42
2 changed files with 3 additions and 2 deletions

View File

@ -71,7 +71,8 @@ sbt: $(FIRRTL_JAR)
cd $(base_dir) && $(SBT) "project $(firesim_sbt_project)" "shell"
test: $(FIRRTL_JAR)
cd $(base_dir) && $(SBT) "project $(firesim_sbt_project)" "test"
testOnly: $(FIRRTL_JAR)
cd $(base_dir) && $(SBT) "project $(firesim_sbt_project)" "testOnly $(SCALA_TEST)"
# All target-agnostic firesim recipes are defined here
include target-agnostic.mk

View File

@ -271,7 +271,7 @@ veryclean:
tags: $(HEADER) $(DRIVER_CC) $(DRIVER_H) $(midas_cc) $(midas_h)
ctags -R --exclude=@.ctagsignore .
.PHONY: sbt test
.PHONY: sbt test testOnly
.PHONY: default verilog compile
.PHONY: verilator verilator-debug
.PHONY: vcs vcs-debug