diff options
author | Kostis Sagonas <[email protected]> | 2014-01-18 11:14:31 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-02-24 17:23:12 +0100 |
commit | a4a535e84b1637c21827783fa52831334303a427 (patch) | |
tree | 0bfad3a28f3a96b18b8ac88984342fae535a8236 /lib | |
parent | 7dae40dd0d595776eec7c0407a7849962650e762 (diff) | |
download | otp-a4a535e84b1637c21827783fa52831334303a427.tar.gz otp-a4a535e84b1637c21827783fa52831334303a427.tar.bz2 otp-a4a535e84b1637c21827783fa52831334303a427.zip |
Add a Makefile for the HiPE tests
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hipe/test/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/lib/hipe/test/Makefile b/lib/hipe/test/Makefile index 19fa227912..cedb150b5d 100644 --- a/lib/hipe/test/Makefile +++ b/lib/hipe/test/Makefile @@ -13,7 +13,11 @@ ERL_FILES= $(MODULES:%=%.erl) TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) INSTALL_PROGS= $(TARGET_FILES) -EMAKEFILE=Emakefile +# ---------------------------------------------------- +# Files +# ---------------------------------------------------- +EMAKEFILE = Emakefile +AUXILIARY_FILES = hipe.spec hipe_testsuite_driver.erl $(EMAKEFILE) # ---------------------------------------------------- # Release directory specification @@ -56,10 +60,14 @@ include $(ERL_TOP)/make/otp_release_targets.mk release_spec: opt +release_docs_spec: + release_tests_spec: make_emakefile $(INSTALL_DIR) "$(RELSYSDIR)" - $(INSTALL_DATA) $(EMAKEFILE) $(ERL_FILES) "$(RELSYSDIR)" - $(INSTALL_DATA) hipe.spec "$(RELSYSDIR)" chmod -R u+w "$(RELSYSDIR)" - -release_docs_spec: + $(INSTALL_DATA) $(AUXILIARY_FILES) "$(RELSYSDIR)" + $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)" + @tar cf - *_SUITE_data | (cd "$(RELSYSDIR)"; tar xf -) + cd "$(RELSYSDIR)";\ + erlc hipe_testsuite_driver.erl;\ + erl -noshell -run hipe_testsuite_driver create_all_suites -s erlang halt |