Skip to content
Snippets Groups Projects
Commit 7f1b41f4 authored by Rocky Automation's avatar Rocky Automation :tv:
Browse files

import delve-1.21.2-4.module+el8.10.0+22329+6cd5c9c6

parent ca35aac3
No related branches found
No related tags found
No related merge requests found
14d23d2f2d17c7d11ab871729a51692221c7ac8dd4303b4f6298cb4fd7f44557
67fc1b6b739b21e0a23c4ae593dbcf0a62553e8b51423dd2fb71b27d146dc302
......@@ -4,7 +4,7 @@
Name: delve
Version: 1.21.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A debugger for the Go programming language
License: MIT
......@@ -55,12 +55,16 @@ install -Dpm 0755 bin/dlv %{buildroot}%{_bindir}/dlv
%check
export GO111MODULE=off
export GOPATH="%{_builddir}/%{name}-%{version}/_build"
cd "_build/src/github.com/go-delve/%{name}"
for d in $(go list %{?exp} ./... | grep -v cmd | grep -v scripts); do
go test %{?exp} ${d}
done
# Temporary - FIXME
# Buildroot Go is not compatible with this version of delve tests.
# We'll have to rely on downstream QE tests until delve 1.22
# lands in the buildroot.
#export GO111MODULE=off
#export GOPATH="%{_builddir}/%{name}-%{version}/_build"
#cd "_build/src/github.com/go-delve/%{name}"
#for d in $(go list %{?exp} ./... | grep -v cmd | grep -v scripts); do
# go test %{?exp} ${d}
#done
%files
......@@ -71,6 +75,10 @@ done
%changelog
* Wed Sep 18 2024 David Benoit <dbenoit@redhat.com> - 1.21.2-4
- Skip tests in %check due to incompatible Go version in buildroot (temporary).
- Resolves: RHEL-59518
* Wed Jan 31 2024 Alejandro Sáez <asm@redhat.com> - 1.21.2-3
- Skip an additional test as it's breaking in the CI system.
- Modify the name of the patch.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment