parent
99faedd443
commit
c8d20da12c
|
@ -1,6 +1,6 @@
|
|||
Name: lldb
|
||||
Version: 5.0.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Next generation high-performance debugger
|
||||
|
||||
License: NCSA
|
||||
|
@ -20,6 +20,8 @@ BuildRequires: zlib-devel
|
|||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libedit-devel
|
||||
|
||||
Requires: python2-lldb
|
||||
|
||||
%description
|
||||
LLDB is a next generation, high-performance debugger. It is built as a set
|
||||
of reusable components which highly leverage existing libraries in the
|
||||
|
@ -120,6 +122,9 @@ mv -v %{buildroot}{%{_bindir},%{_libdir}}/liblldb-intel-mpxtable.so
|
|||
%{python_sitearch}/lldb
|
||||
|
||||
%changelog
|
||||
* Fri Sep 21 2018 Tom Stellard <tstellar@redhat.com> - 5.0.2-2
|
||||
- lldb should depend on python2-lldb
|
||||
|
||||
* Tue May 8 2018 Tom Stellard <tstellar@redhat.com> - 5.0.2-1
|
||||
- 5.0.2 Release
|
||||
|
||||
|
|
|
@ -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
|
|
@ -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;
|
||||
}
|
|
@ -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