lldb should depend on python2-lldb
rhbz#1567262
This commit is contained in:
parent
f163e5ef40
commit
cec2081e4c
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: lldb
|
Name: lldb
|
||||||
Version: 7.0.0
|
Version: 7.0.0
|
||||||
Release: 0.4.rc%{rc_ver}%{?dist}
|
Release: 0.5.rc%{rc_ver}%{?dist}
|
||||||
Summary: Next generation high-performance debugger
|
Summary: Next generation high-performance debugger
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
@ -20,6 +20,8 @@ BuildRequires: zlib-devel
|
|||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libedit-devel
|
BuildRequires: libedit-devel
|
||||||
|
|
||||||
|
Requires: python2-lldb
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LLDB is a next generation, high-performance debugger. It is built as a set
|
LLDB is a next generation, high-performance debugger. It is built as a set
|
||||||
of reusable components which highly leverage existing libraries in the
|
of reusable components which highly leverage existing libraries in the
|
||||||
@ -115,6 +117,9 @@ rm -f %{buildroot}%{python2_sitearch}/six.*
|
|||||||
%{python2_sitearch}/lldb
|
%{python2_sitearch}/lldb
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 21 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.5.rc3
|
||||||
|
- lldb should depend on python2-lldb
|
||||||
|
|
||||||
* Mon Sep 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.4.rc3
|
* Mon Sep 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.4.rc3
|
||||||
- 7.0.0-rc3 Release
|
- 7.0.0-rc3 Release
|
||||||
|
|
||||||
|
11
tests/python-embedded-interpreter/runtest.sh
Executable file
11
tests/python-embedded-interpreter/runtest.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
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 \
|
||||||
|
-e '(std::vector<int, std::allocator<int> >) $0 = size=1 {' \
|
||||||
|
-e '\[0\] = 2' \
|
||||||
|
| wc -l` -eq 2
|
9
tests/python-embedded-interpreter/test.cpp
Normal file
9
tests/python-embedded-interpreter/test.cpp
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <vector>
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
std::vector<int> v (1, 2);
|
||||||
|
std::vector<int>::iterator it(v.begin());
|
||||||
|
return 0;
|
||||||
|
}
|
25
tests/tests.yml
Normal file
25
tests/tests.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
pre_tasks:
|
||||||
|
# We want to be able to check that the sub-package dependencies are correct.
|
||||||
|
# The CI system installs all sub-packages, so we remove them so we can
|
||||||
|
# test them individually.
|
||||||
|
- name: Remove RPMS installed by CI
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- python2-lldb
|
||||||
|
- lldb
|
||||||
|
- lldb-devel
|
||||||
|
state: absent
|
||||||
|
tags: classic
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
required_packages:
|
||||||
|
- gcc-c++
|
||||||
|
- lldb
|
||||||
|
tests:
|
||||||
|
# rhbz#1567262
|
||||||
|
- python-embedded-interpreter:
|
||||||
|
dir: python-embedded-interpreter
|
||||||
|
run: ./runtest.sh
|
Loading…
Reference in New Issue
Block a user