[Python-checkins] bpo-33926: enable GDB tests on Travis CI (GH-14395)

Miss Islington (bot) webhook-mailer at python.org
Thu Jun 27 07:47:03 EDT 2019


https://github.com/python/cpython/commit/7e9d706fd6e2f49d2bd829890c46868105767769
commit: 7e9d706fd6e2f49d2bd829890c46868105767769
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-06-27T04:46:59-07:00
summary:

bpo-33926: enable GDB tests on Travis CI (GH-14395)

(cherry picked from commit 667eaffb4e5d03bf8129773f79649c3befaa5b1a)

Co-authored-by: Jeroen Demeyer <J.Demeyer at UGent.be>

files:
M .travis.yml

diff --git a/.travis.yml b/.travis.yml
index 02de997750ab..d46f52c90d35 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,8 +14,7 @@ env:
     - OPENSSL=1.1.1c
     - OPENSSL_DIR="$HOME/multissl/openssl/${OPENSSL}"
     - PATH="${OPENSSL_DIR}/bin:$PATH"
-    # Use -O3 because we don't use debugger on Travis-CI
-    - CFLAGS="-I${OPENSSL_DIR}/include -O3"
+    - CFLAGS="-I${OPENSSL_DIR}/include"
     - LDFLAGS="-L${OPENSSL_DIR}/lib"
     # Set rpath with env var instead of -Wl,-rpath linker flag
     # OpenSSL ignores LDFLAGS when linking bin/openssl
@@ -43,6 +42,7 @@ matrix:
       addons:
         apt:
           packages:
+            - gdb
             - xvfb
     - name: "Documentation build"
       os: linux



More information about the Python-checkins mailing list