fix modifying beakerlib deja summary execution
This commit is contained in:
parent
fd8d311dca
commit
f0a3264409
@ -1,7 +1,7 @@
|
||||
Name: beakerlib
|
||||
Summary: A shell-level integration testing library
|
||||
Version: 1.18.1
|
||||
Release: 3
|
||||
Release: 4
|
||||
License: GPLv2
|
||||
BuildArch: noarch
|
||||
URL: https://github.com/%{name}/%{name}
|
||||
@ -29,6 +29,7 @@ Patch1: python3.patch
|
||||
Patch2: Count-CPUs-optimization.patch
|
||||
Patch3: enahanced-library-search.patch
|
||||
Patch4: beakerlib-adapt-product-feature-to-local-release-version.patch
|
||||
Patch5: perl-syntax-error.patch
|
||||
|
||||
%package_help
|
||||
|
||||
@ -83,6 +84,9 @@ Files for syntax highlighting BeakerLib tests in VIM editor
|
||||
%doc %{_pkgdocdir}/*
|
||||
|
||||
%changelog
|
||||
* Fri Nov 10 2023 zhangxianting <zhangxianting@uniontech.com> - 1.18.1-4
|
||||
- fix modifying beakerlib deja summary execution
|
||||
|
||||
* Mon Jun 12 2023 yixiangzhike <yixiangzhike007@163.com> - 1.18.1-3
|
||||
- beakerlib adapt product feature to local release version
|
||||
|
||||
|
||||
27
perl-syntax-error.patch
Normal file
27
perl-syntax-error.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From d4f649af8edfeceb9667b3ed8106705186989998 Mon Sep 17 00:00:00 2001
|
||||
From: zhangxianting <zhangxianting@uniontech.com>
|
||||
Date: Fri, 10 Nov 2023 12:29:20 +0800
|
||||
Subject: [PATCH] perl syntax error
|
||||
|
||||
---
|
||||
src/perl/deja-summarize | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/perl/deja-summarize b/src/perl/deja-summarize
|
||||
index b2b105b..f7f7bf1 100755
|
||||
--- a/src/perl/deja-summarize
|
||||
+++ b/src/perl/deja-summarize
|
||||
@@ -170,8 +170,8 @@ sub newResults {
|
||||
# (fail or broken, or whatever).
|
||||
sub isBad {
|
||||
my ($b) = @_;
|
||||
- for my $bad qw(fail brokentest kfail) {
|
||||
- return 1 if ($b eq $bad);
|
||||
+ for my $bad (qw(fail brokentest kfail)) {
|
||||
+ return 1 if ($b eq $bad);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
--
|
||||
2.27.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user