File 0055-Smoke-test-HiPE-in-the-32-bit-build.patch of Package erlang
From dc122bf19ac288701cdaa2c724216495ee05926f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Fri, 24 Mar 2017 07:42:46 +0100
Subject: [PATCH] Smoke test HiPE in the 32-bit build
HiPE is tested when running dialyzer in the 64-bit build. To avoid
running out of memory or time, dialyzer is not run in the 32-bit
build job.
Do a smoke test of HiPE by letting dialyzer create a small PLT.
We could catch more bugs by using 'configure --enable-native-libs',
but I am worried that the build would not finish in 50 minutes
(the time limit for a Travis job).
---
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index dfa01a89e..f418f2099 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,7 +27,7 @@ matrix:
services:
- docker
script:
- - ./scripts/build-docker-otp 32 sh -c "scripts/build-otp && ./otp_build tests && scripts/run-smoke-tests"
+ - ./scripts/build-docker-otp 32 sh -c "scripts/build-otp && ./otp_build tests && scripts/run-smoke-tests && bin/dialyzer --build_plt --apps erts kernel stdlib"
after_success:
after_script:
--
2.12.2