* [Buildroot] [PATCH next 1/2] package/iperf3: bump to version 3.13
@ 2023-03-04 16:31 Julien Olivain
2023-03-04 16:31 ` [Buildroot] [PATCH next 2/2] support/testing/tests/package/test_iperf3.py: new runtime test Julien Olivain
2023-03-12 13:21 ` [Buildroot] [PATCH next 1/2] package/iperf3: bump to version 3.13 Thomas Petazzoni via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Julien Olivain @ 2023-03-04 16:31 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain
LICENSE file hash changed, due to year update.
For change log, see:
https://github.com/esnet/iperf/blob/3.13/RELNOTES.md#iperf-313-2023-02-16
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Patch tested on branch next at commit b793f3a with commands:
make check-package
...
0 warnings generated
utils/test-pkg -a -p iperf3
...
45 builds, 1 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed
---
package/iperf3/iperf3.hash | 6 +++---
package/iperf3/iperf3.mk | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/iperf3/iperf3.hash b/package/iperf3/iperf3.hash
index 15c75b6dac..b2c89df98a 100644
--- a/package/iperf3/iperf3.hash
+++ b/package/iperf3/iperf3.hash
@@ -1,4 +1,4 @@
-# From https://downloads.es.net/pub/iperf/iperf-3.12.tar.gz.sha256
-sha256 72034ecfb6a7d6d67e384e19fb6efff3236ca4f7ed4c518d7db649c447e1ffd6 iperf-3.12.tar.gz
+# From https://downloads.es.net/pub/iperf/iperf-3.13.tar.gz.sha256
+sha256 bee427aeb13d6a2ee22073f23261f63712d82befaa83ac8cb4db5da4c2bdc865 iperf-3.13.tar.gz
# Locally computed
-sha256 a5c2e3d799f2835156e565a3de4fad33d32ed289cdc9e414dfaf75719fd12ef9 LICENSE
+sha256 35aa7c4618b9884d6faa9b43a4e70291b35ea9f89329d5d33becd852e85221b0 LICENSE
diff --git a/package/iperf3/iperf3.mk b/package/iperf3/iperf3.mk
index 9041c86575..129319d78a 100644
--- a/package/iperf3/iperf3.mk
+++ b/package/iperf3/iperf3.mk
@@ -4,7 +4,7 @@
#
################################################################################
-IPERF3_VERSION = 3.12
+IPERF3_VERSION = 3.13
IPERF3_SITE = https://downloads.es.net/pub/iperf
IPERF3_SOURCE = iperf-$(IPERF3_VERSION).tar.gz
IPERF3_LICENSE = BSD-3-Clause, BSD-2-Clause, MIT
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH next 2/2] support/testing/tests/package/test_iperf3.py: new runtime test
2023-03-04 16:31 [Buildroot] [PATCH next 1/2] package/iperf3: bump to version 3.13 Julien Olivain
@ 2023-03-04 16:31 ` Julien Olivain
2023-03-12 13:21 ` [Buildroot] [PATCH next 1/2] package/iperf3: bump to version 3.13 Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain @ 2023-03-04 16:31 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Patch tested on branch next at commit b793f3a with commands:
python3 -m flake8 support/testing/tests/package/test_iperf3.py
[no-output]
support/testing/run-tests \
-d dl -o output_folder \
tests.package.test_iperf3
...
OK
---
DEVELOPERS | 1 +
support/testing/tests/package/test_iperf3.py | 23 ++++++++++++++++++++
2 files changed, 24 insertions(+)
create mode 100644 support/testing/tests/package/test_iperf3.py
diff --git a/DEVELOPERS b/DEVELOPERS
index d052e59122..f5cbb12631 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1718,6 +1718,7 @@ F: support/testing/tests/package/sample_python_spake2.py
F: support/testing/tests/package/test_gnupg2.py
F: support/testing/tests/package/test_highway.py
F: support/testing/tests/package/test_hwloc.py
+F: support/testing/tests/package/test_iperf3.py
F: support/testing/tests/package/test_libjxl.py
F: support/testing/tests/package/test_ncdu.py
F: support/testing/tests/package/test_octave.py
diff --git a/support/testing/tests/package/test_iperf3.py b/support/testing/tests/package/test_iperf3.py
new file mode 100644
index 0000000000..9aac4c6fd0
--- /dev/null
+++ b/support/testing/tests/package/test_iperf3.py
@@ -0,0 +1,23 @@
+import os
+
+import infra.basetest
+
+
+class TestIperf3(infra.basetest.BRTest):
+ config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
+ """
+ BR2_PACKAGE_IPERF3=y
+ BR2_TARGET_ROOTFS_CPIO=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
+
+ def test_run(self):
+ cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio")
+ self.emulator.boot(arch="armv5",
+ kernel="builtin",
+ options=["-initrd", cpio_file])
+ self.emulator.login()
+
+ self.assertRunOk("iperf3 --version")
+ self.assertRunOk("iperf3 -s -D")
+ self.assertRunOk("iperf3 -c 127.0.0.1 -t 3")
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH next 1/2] package/iperf3: bump to version 3.13
2023-03-04 16:31 [Buildroot] [PATCH next 1/2] package/iperf3: bump to version 3.13 Julien Olivain
2023-03-04 16:31 ` [Buildroot] [PATCH next 2/2] support/testing/tests/package/test_iperf3.py: new runtime test Julien Olivain
@ 2023-03-12 13:21 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-03-12 13:21 UTC (permalink / raw)
To: Julien Olivain; +Cc: buildroot
On Sat, 4 Mar 2023 17:31:00 +0100
Julien Olivain <ju.o@free.fr> wrote:
> LICENSE file hash changed, due to year update.
>
> For change log, see:
> https://github.com/esnet/iperf/blob/3.13/RELNOTES.md#iperf-313-2023-02-16
>
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Patch tested on branch next at commit b793f3a with commands:
Both applied to next. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-12 13:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-04 16:31 [Buildroot] [PATCH next 1/2] package/iperf3: bump to version 3.13 Julien Olivain
2023-03-04 16:31 ` [Buildroot] [PATCH next 2/2] support/testing/tests/package/test_iperf3.py: new runtime test Julien Olivain
2023-03-12 13:21 ` [Buildroot] [PATCH next 1/2] package/iperf3: bump to version 3.13 Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox