diff --git a/Changes b/Changes index c50d10945..22b31b142 100644 --- a/Changes +++ b/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 diff --git a/test_sc/Makefile b/test_sc/Makefile index 9c56f8587..e97df4925 100644 --- a/test_sc/Makefile +++ b/test_sc/Makefile @@ -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:: diff --git a/test_sp/Makefile b/test_sp/Makefile index 9f0296e6a..6d8abf5fa 100644 --- a/test_sp/Makefile +++ b/test_sp/Makefile @@ -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::