diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-04-24 06:59:24 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-04-24 06:59:24 +0200 |
commit | a4e7fd3e6286b24350d9c4a782cdba15cb081a9c (patch) | |
tree | 54081d83b9be28d6385851c7008b7efb8de0312f | |
parent | d4a2d7c5d2975c388e75fd3d70172c6a59eff8f1 (diff) | |
download | ghdl-a4e7fd3e6286b24350d9c4a782cdba15cb081a9c.tar.gz ghdl-a4e7fd3e6286b24350d9c4a782cdba15cb081a9c.tar.bz2 ghdl-a4e7fd3e6286b24350d9c4a782cdba15cb081a9c.zip |
Makefile: add test target. Fix #1255
-rw-r--r-- | Makefile.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 7749d58e3..452ec3127 100644 --- a/Makefile.in +++ b/Makefile.in @@ -135,6 +135,8 @@ install: install.$(backend) uninstall: uninstall.$(backend) +test: test.$(backend) + copy-sources: copy-sources.$(backend) libs: libs.vhdl.$(backend) @@ -201,6 +203,9 @@ install.mcode: install.mcode.program install.vhdllib install.vpi install.libghdl uninstall.mcode: uninstall.mcode.program uninstall.vhdllib uninstall.vpi uninstall.libghdl +test.mcode: ghdl_mcode$(EXEEXT) + cd testsuite; GHDL=$(CURDIR)/ghdl_mcode$(EXEEXT) ./testsuite.sh + oread-mcode$(EXEEXT): force $(MAKE) -f $(srcdir)/src/ortho/mcode/Makefile \ ortho_srcdir=$(srcdir)/src/ortho ortho_exec=$@ \ @@ -278,6 +283,9 @@ install.gcc: install.vhdllib install.grt install.vpi install.libghdl uninstall.gcc: uninstall.vhdllib uninstall.grt uninstall.vpi uninstall.libghdl +test.gcc: + cd testsuite; GHDL=$(GHDL_GCC_BIN) ./testsuite.sh + #################### For gcc backend - development only (local build) #### GHDL_GCC_INCFLAGS=$(GHDL_COMMON_INCFLAGS) @@ -359,6 +367,9 @@ install.llvm.program: install.dirs ghdl1-llvm$(EXEEXT) ghdl_llvm$(EXEEXT) $(INSTALL_PROGRAM) ghdl_llvm$(EXEEXT) $(DESTDIR)$(bindir)/ghdl$(EXEEXT) $(INSTALL_PROGRAM) ghdl1-llvm$(EXEEXT) $(DESTDIR)$(bindir)/ghdl1-llvm$(EXEEXT) +test.llvm: ghdl_llvm$(EXEEXT) + cd testsuite; GHDL=$(CURDIR)/ghdl_llvm$(EXEEXT) ./testsuite.sh + uninstall.llvm.program: $(RM) $(DESTDIR)$(bindir)/ghdl1-llvm$(EXEEXT) $(RM) $(DESTDIR)$(bindir)/ghdl$(EXEEXT) |