From b1a0a6d0dc3695c56ed0c87cc073e0c01607621b Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Tue, 2 Mar 2021 14:55:51 +0100 Subject: [PATCH] Make python-embedded-interpreter/runtest.sh more debuggable --- lldb.spec | 5 ++++- tests/python-embedded-interpreter/runtest.sh | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lldb.spec b/lldb.spec index f3f880e..b5ebfdf 100644 --- a/lldb.spec +++ b/lldb.spec @@ -1,5 +1,5 @@ %global rc_ver 2 -%global baserelease 4 +%global baserelease 5 %global lldb_srcdir %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src Name: lldb @@ -130,6 +130,9 @@ rm -f %{buildroot}%{python3_sitearch}/six.* %{python3_sitearch}/lldb %changelog +* Tue Mar 02 2021 sguelton@redhat.com - 12.0.0-5.rc2 +- Improve CI debugging + * Tue Mar 02 2021 sguelton@redhat.com - 12.0.0-4.rc2 - Apply upstream D97721 diff --git a/tests/python-embedded-interpreter/runtest.sh b/tests/python-embedded-interpreter/runtest.sh index 164ff13..81ef771 100755 --- a/tests/python-embedded-interpreter/runtest.sh +++ b/tests/python-embedded-interpreter/runtest.sh @@ -4,8 +4,10 @@ set -ex g++ -g test.cpp -test `lldb -b -o 'breakpoint set --file test.cpp --line 7' -o run -o 'p v' -- a.out \ - | grep \ +lldb -b -o 'breakpoint set --file test.cpp --line 7' -o run -o 'p v' -- a.out | tee lldb.log + +test `grep \ -e '(std::vector >) $0 = size=1 {' \ -e '\[0\] = 2' \ + lldb.log \ | wc -l` -eq 2