diff --git a/utils/stress-ng/Makefile b/utils/stress-ng/Makefile index ed878ec8cc..009e9cd99e 100644 --- a/utils/stress-ng/Makefile +++ b/utils/stress-ng/Makefile @@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=stress-ng -PKG_VERSION:=0.19.04 +PKG_VERSION:=0.21.00 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/ColinIanKing/stress-ng/tar.gz/refs/tags/V$(PKG_VERSION)? -PKG_HASH:=3761ae901b2a81dcdb3f5363b8d98f288c03ae320a697b6d7ffef01a48845f05 +PKG_HASH:=1339cbc6ccbff7e2ee2177bf0fd67e7b94e8ff7b07fe89bcfaec0280d800cf34 PKG_MAINTAINER:=Alexandru Ardelean PKG_LICENSE:=GPL-2.0-only diff --git a/utils/stress-ng/patches/001-disable-extra-stressors.patch b/utils/stress-ng/patches/001-disable-extra-stressors.patch index e528012453..5d8118abd3 100644 --- a/utils/stress-ng/patches/001-disable-extra-stressors.patch +++ b/utils/stress-ng/patches/001-disable-extra-stressors.patch @@ -1,6 +1,6 @@ --- a/Makefile.config +++ b/Makefile.config -@@ -364,10 +364,10 @@ clean: +@@ -372,10 +372,10 @@ clean: .PHONY: libraries libraries: \ configdir \ diff --git a/utils/stress-ng/patches/002-disable-atomics-mips-and-ppc.patch b/utils/stress-ng/patches/002-disable-atomics-mips-and-ppc.patch index 2c6c2a4c41..75b02a70f2 100644 --- a/utils/stress-ng/patches/002-disable-atomics-mips-and-ppc.patch +++ b/utils/stress-ng/patches/002-disable-atomics-mips-and-ppc.patch @@ -13,7 +13,7 @@ * get next row to be computed, will wrap around. Wrap arounds --- a/stress-misaligned.c +++ b/stress-misaligned.c -@@ -52,6 +52,10 @@ +@@ -53,6 +53,10 @@ #undef HAVE_ATOMIC #endif diff --git a/utils/stress-ng/test.sh b/utils/stress-ng/test.sh index 0b70f7cc36..c578a87bba 100644 --- a/utils/stress-ng/test.sh +++ b/utils/stress-ng/test.sh @@ -1,3 +1,4 @@ #!/bin/sh -e -stress-ng --version | grep "$2" +# Run a single CPU operation and exit; validates the stressor infrastructure +stress-ng --cpu 1 --cpu-ops 1 --metrics-brief