Skip SystemC tests if not installed.
This commit is contained in:
parent
0e8772290d
commit
63f30492be
2
Changes
2
Changes
|
|
@ -5,6 +5,8 @@ indicates the contributor was also the author of the fix; Thanks!
|
|||
|
||||
* Verilator 3.80***
|
||||
|
||||
**** Skip SystemC tests if not installed. [Iztok Jeras]
|
||||
|
||||
**** Fix make uninstall, bug216. [Iztok Jeras]
|
||||
|
||||
* Verilator 3.800 2010/02/07
|
||||
|
|
|
|||
|
|
@ -24,8 +24,13 @@ include $(VERILATOR_ROOT)/include/verilated.mk
|
|||
DEBUG_ON = --debug
|
||||
|
||||
######################################################################
|
||||
ifneq ($(SYSTEMC),)
|
||||
test_default: precopy prep preproc compile run
|
||||
test_debug: precopy prep_dbg preproc compile run
|
||||
else
|
||||
test_default: nosc
|
||||
test_debug: nosc
|
||||
endif
|
||||
|
||||
V_FLAGS = -f $(VERILATOR_ROOT)/test_v/input.vc
|
||||
VERILATOR_FLAGS = --sc $(V_FLAGS) top.v
|
||||
|
|
@ -52,6 +57,11 @@ run:
|
|||
obj_dir:
|
||||
mkdir $@
|
||||
|
||||
nosc:
|
||||
@echo
|
||||
@echo %Skip: SYSTEMC not in environment
|
||||
@echo
|
||||
|
||||
######################################################################
|
||||
|
||||
maintainer-copy::
|
||||
|
|
|
|||
|
|
@ -24,9 +24,15 @@ include $(VERILATOR_ROOT)/include/verilated.mk
|
|||
DEBUG_ON = --debug --trace-dups
|
||||
|
||||
######################################################################
|
||||
ifneq ($(SYSTEMPERL),)
|
||||
test_default: precopy prep preproc compile run coverage
|
||||
test_debug: precopy prep_dbg preproc compile_dbg run coverage
|
||||
test_nopublic: precopy prep_dbg_np preproc compile_dbg run coverage
|
||||
else
|
||||
test_default: nosp
|
||||
test_debug: nosp
|
||||
test_nopublic: nosp
|
||||
endif
|
||||
|
||||
V_FLAGS = -f $(VERILATOR_ROOT)/test_v/input.vc
|
||||
|
||||
|
|
@ -67,6 +73,11 @@ coverage:
|
|||
obj_dir:
|
||||
mkdir $@
|
||||
|
||||
nosp:
|
||||
@echo
|
||||
@echo %Skip: SYSTERMPERL not in environment
|
||||
@echo
|
||||
|
||||
######################################################################
|
||||
|
||||
maintainer-copy::
|
||||
|
|
|
|||
Loading…
Reference in New Issue