Make python-embedded-interpreter/runtest.sh more debuggable

This commit is contained in:
serge-sans-paille 2021-03-02 14:55:51 +01:00
parent 56faaa0489
commit b1a0a6d0dc
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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<int, std::allocator<int> >) $0 = size=1 {' \
-e '\[0\] = 2' \
lldb.log \
| wc -l` -eq 2