Make python-embedded-interpreter/runtest.sh more debuggable
This commit is contained in:
parent
56faaa0489
commit
b1a0a6d0dc
@ -1,5 +1,5 @@
|
|||||||
%global rc_ver 2
|
%global rc_ver 2
|
||||||
%global baserelease 4
|
%global baserelease 5
|
||||||
%global lldb_srcdir %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
%global lldb_srcdir %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
|
|
||||||
Name: lldb
|
Name: lldb
|
||||||
@ -130,6 +130,9 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
|
|||||||
%{python3_sitearch}/lldb
|
%{python3_sitearch}/lldb
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Mar 02 2021 sguelton@redhat.com - 12.0.0-4.rc2
|
||||||
- Apply upstream D97721
|
- Apply upstream D97721
|
||||||
|
|
||||||
|
@ -4,8 +4,10 @@ set -ex
|
|||||||
|
|
||||||
g++ -g test.cpp
|
g++ -g test.cpp
|
||||||
|
|
||||||
test `lldb -b -o 'breakpoint set --file test.cpp --line 7' -o run -o 'p v' -- a.out \
|
lldb -b -o 'breakpoint set --file test.cpp --line 7' -o run -o 'p v' -- a.out | tee lldb.log
|
||||||
| grep \
|
|
||||||
|
test `grep \
|
||||||
-e '(std::vector<int, std::allocator<int> >) $0 = size=1 {' \
|
-e '(std::vector<int, std::allocator<int> >) $0 = size=1 {' \
|
||||||
-e '\[0\] = 2' \
|
-e '\[0\] = 2' \
|
||||||
|
lldb.log \
|
||||||
| wc -l` -eq 2
|
| wc -l` -eq 2
|
||||||
|
Loading…
Reference in New Issue
Block a user