Compare commits

...

4 Commits
rawhide ... f27

Author SHA1 Message Date
Tom Stellard c8d20da12c lldb should depend on python2-lldb
rhbz#1567262
2018-09-29 03:29:42 +00:00
Tom Stellard 99faedd443 5.0.2 Release 2018-05-08 14:29:38 +00:00
Tom Stellard a6aa9ff227 Drop explicit dependencies for llvm-libs and clang-libs 2018-01-25 02:36:10 +00:00
Tom Stellard ea46c6e2ff 5.0.1 Release 2018-01-18 03:01:42 +00:00
6 changed files with 63 additions and 5 deletions

2
.gitignore vendored
View File

@ -7,3 +7,5 @@
/lldb-4.0.0.src.tar.xz
/lldb-4.0.1.src.tar.xz
/lldb-5.0.0.src.tar.xz
/lldb-5.0.1.src.tar.xz
/lldb-5.0.2.src.tar.xz

View File

@ -1,6 +1,6 @@
Name: lldb
Version: 5.0.0
Release: 1%{?dist}
Version: 5.0.2
Release: 2%{?dist}
Summary: Next generation high-performance debugger
License: NCSA
@ -20,8 +20,7 @@ BuildRequires: zlib-devel
BuildRequires: libxml2-devel
BuildRequires: libedit-devel
Requires: llvm-libs = %{version}
Requires: clang-libs = %{version}
Requires: python2-lldb
%description
LLDB is a next generation, high-performance debugger. It is built as a set
@ -123,6 +122,18 @@ 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
* Thu Jan 25 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-2
- Drop explicit dependencies for llvm-libs and clang-libs
* Thu Dec 21 2017 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
- 5.0.1 Release
* Fri Oct 06 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-1
- 5.0.0 Release

View File

@ -1 +1 @@
SHA512 (lldb-5.0.0.src.tar.xz) = bc70953c7f6b3f0bc797461fb53d9c60c5ab36c0b9aae815a3c37fc597a61c7220695ee3b60a9682486d2e4713c5f78ea85e853e13c587e356510a1c99a62ba9
SHA512 (lldb-5.0.2.src.tar.xz) = 66eaaead60cc908ac061bedb4fac9cb96cecb7f4e5a79a51b6fa080e8f61f718b14e5f3581ead832b495bf10f055d4253d199236a0947dd22395ec80bf2afcf4

View 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

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