Compare commits
No commits in common. "c8s" and "c9-beta" have entirely different histories.
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
||||
*.swp
|
||||
/stress-ng-*.tar.xz
|
||||
SOURCES/stress-ng-0.17.08.tar.gz
|
||||
|
1
.stress-ng.metadata
Normal file
1
.stress-ng.metadata
Normal file
@ -0,0 +1 @@
|
||||
6b25c3530d961bd7a66b5c51b308c34691d9a4c8 SOURCES/stress-ng-0.17.08.tar.gz
|
@ -0,0 +1,33 @@
|
||||
From cdfb0b0656b6fd371cf73333af54530e8de556e1 Mon Sep 17 00:00:00 2001
|
||||
From: Colin Ian King <colin.i.king@gmail.com>
|
||||
Date: Fri, 3 May 2024 10:46:01 +0100
|
||||
Subject: [PATCH] core-asm-arm.h: declare stress_asm_arm_yield when
|
||||
HAVE_ASM_ARM_YIELD is defined
|
||||
|
||||
Don't declare inlined yield helper if yield is not available
|
||||
|
||||
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
|
||||
---
|
||||
core-asm-arm.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/core-asm-arm.h b/core-asm-arm.h
|
||||
index c275dc8b9bda..152e771811b8 100644
|
||||
--- a/core-asm-arm.h
|
||||
+++ b/core-asm-arm.h
|
||||
@@ -24,10 +24,12 @@
|
||||
|
||||
#if defined(STRESS_ARCH_ARM)
|
||||
|
||||
+#if defined(HAVE_ASM_ARM_YIELD)
|
||||
static inline void ALWAYS_INLINE stress_asm_arm_yield(void)
|
||||
{
|
||||
__asm__ __volatile__("yield;\n");
|
||||
}
|
||||
+#endif
|
||||
|
||||
/* #if defined(STRESS_ARCH_ARM) */
|
||||
#endif
|
||||
--
|
||||
2.45.0
|
||||
|
@ -1,11 +1,11 @@
|
||||
Name: stress-ng
|
||||
Version: 0.17.01
|
||||
Release: 1%{?dist}
|
||||
Version: 0.17.08
|
||||
Release: 2%{?dist}
|
||||
Summary: Stress test a computer system in various ways
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://github.com/ColinIanKing/%{name}/tarball
|
||||
Source0: https://github.com/ColinIanKing/%{name}/tarball/%{name}-%{version}.tar.xz
|
||||
Source0: https://github.com/ColinIanKing/%{name}/tarball/%{name}-%{version}.tar.gz
|
||||
|
||||
# Work around for ld.gold error
|
||||
%undefine _package_note_flags
|
||||
@ -25,6 +25,7 @@ BuildRequires: zlib-devel
|
||||
BuildRequires: Judy-devel
|
||||
|
||||
# Patches
|
||||
Patch1: core-asm-arm.h-declare-stress_asm_arm_yield-when-HAV.patch
|
||||
|
||||
%description
|
||||
Stress test a computer system in various ways. It was designed to exercise
|
||||
@ -33,6 +34,7 @@ system kernel interfaces.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
@ -56,42 +58,43 @@ install -pm 644 bash-completion/%{name} \
|
||||
%{_datadir}/bash-completion/completions/%{name}
|
||||
|
||||
%changelog
|
||||
* Wed Nov 15 2023 John Kacur <jkacur@redhat.com> - 0.17.01-1
|
||||
- Rebase to upstream V0.17.01
|
||||
Resolves: RHEL-8966
|
||||
* Wed May 29 2024 John Kacur <jkacur@redhat.com> - 0.17.08-2
|
||||
- Fix missing corresponding macro to apply patch
|
||||
Resolves: RHEL-33304
|
||||
|
||||
* Tue Nov 22 2022 John Kacur <jkacur@redhat.com> - 0.15.00-1
|
||||
* Thu May 23 2024 John Kacur <jkacur@redhat.com> - 0.17.08-1
|
||||
- Rebase to upstream V0.17.08
|
||||
- ARM: Don't declare inlined yield helper if yield is not available
|
||||
Resolves: RHEL-33304
|
||||
|
||||
* Thu Nov 16 2023 John Kacur <jkacur@redhat.com> - 0.17.01-1
|
||||
- Rebase to upstream V0.17.01
|
||||
Resolves: RHEL-7859
|
||||
|
||||
* Mon Nov 21 2022 John Kacur <jkacur@redhat.com> - 0.15.00-1
|
||||
- Rebase to upstream V0.15.00
|
||||
- Add the following upstream patches
|
||||
- stress-shm: move /dev/shm check to earlier in the setup phase
|
||||
- stress-shm: skip stressor if /dev/shm is not mounted with tmpfs on linux
|
||||
- stress-sysfs: check for zero sysfs entries after pruning the directory
|
||||
Resolves: rhbz#2144068
|
||||
Resolves: rhbz#2144070
|
||||
|
||||
* Tue Oct 18 2022 John Kacur <jkacur@redhat.com> - 0.14.06-1
|
||||
- Rebase to upstream V0.14.06
|
||||
Resolves: rhbz#2119872
|
||||
Resolves: rhbz#2119871
|
||||
|
||||
* Fri Apr 22 2022 John Kacur <jkacur@redhat.com> - 0.14.00-2
|
||||
- Add a local rpminspect.yaml file and disable badfuncs test
|
||||
Resolves: rhbz#2077925
|
||||
|
||||
* Wed Apr 20 2022 John Kacur <jkacur@redhat.com> - 0.14.00-1
|
||||
- Rebase to upstream V0.14.00
|
||||
- Update Source URLs
|
||||
Resolves: rhbz#2067584
|
||||
Resolves: rhbz#2067588
|
||||
|
||||
* Fri Jan 14 2022 John Kacur <jkacur@redhat.com> - 0.13.10-1
|
||||
- Rebase to upstream V0.13.10
|
||||
Resolves: rhbz#2028573
|
||||
|
||||
* Mon Dec 06 2021 John Kacur <jkacur@redhat.com> - 0.13.00-5
|
||||
- Change gating.yaml to read rhel-8
|
||||
Resolves: rhbz#2017260
|
||||
|
||||
* Thu Nov 25 2021 John Kacur <jkacur@redhat.com> - 0.13.00-4
|
||||
- Rebuild for rhel-8.6.0
|
||||
Resolves: rhbz#2015162
|
||||
|
||||
* Mon Nov 01 2021 John Kacur <jkacur@redhat.com> - 0.13.00-3
|
||||
- Rebuild for rhel-8.6.0
|
||||
Resolves: rhbz#2015162
|
||||
- Rebase to upstres V0.13.10
|
||||
Resolves; rhbz#2018597
|
||||
|
||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.13.00-2
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
1
sources
1
sources
@ -1 +0,0 @@
|
||||
SHA512 (stress-ng-0.17.01.tar.xz) = ee213e2217638976c0b9d96d66509f4fcafbd870cb0c92245d799c967690f4e2f95bdc978ba21d26552d6ca42c49f2a276205d1685facaf8c8101de971df29ef
|
@ -1,17 +0,0 @@
|
||||
#!/usr/bin/bash
|
||||
# make sure we have stress-ng installed
|
||||
if rpm -q --quiet stress-ng; then
|
||||
:
|
||||
else
|
||||
sudo dnf install -y stress-ng
|
||||
if [[ $? != 0 ]]; then
|
||||
echo "install of stress-ng failed!"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# See if stress-ng is installed and executable
|
||||
stress-ng --help 2>> /dev/null
|
||||
if [[ $? != 0 ]]; then
|
||||
exit 2
|
||||
fi
|
@ -1,12 +0,0 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- simple:
|
||||
dir: scripts
|
||||
run: ./run_tests.sh
|
||||
required_packages:
|
||||
- make
|
||||
- stress-ng
|
Loading…
Reference in New Issue
Block a user