aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/test/Makefile
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2014-02-25 13:40:48 +0100
committerHenrik Nord <[email protected]>2014-02-25 13:40:48 +0100
commitf90751b9f766a0155aaaa6fe22bc925f3a9874e2 (patch)
tree832940d8c290d35963285f9bc62b62eff460311b /lib/hipe/test/Makefile
parent7512dc06d2356c116475661693c1bc73d18434dd (diff)
parent9855233b06ff7ab0af4fabbc99a28907620550c9 (diff)
downloadotp-f90751b9f766a0155aaaa6fe22bc925f3a9874e2.tar.gz
otp-f90751b9f766a0155aaaa6fe22bc925f3a9874e2.tar.bz2
otp-f90751b9f766a0155aaaa6fe22bc925f3a9874e2.zip
Merge branch 'kostis/hipe-tests-bs/OTP-11748'
* kostis/hipe-tests-bs/OTP-11748: Up the time limit (globally) for some slow machines Add check so that tests are skipped if HiPE is not available Add a Makefile for the HiPE tests Add tests for the HiPE compiler (Part 1: binaries and bitstrings)
Diffstat (limited to 'lib/hipe/test/Makefile')
-rw-r--r--lib/hipe/test/Makefile18
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