* [Buildroot] [PATCH 1/2] package/ncdu: bump to version 1.18
@ 2022-12-10 12:30 Julien Olivain
2022-12-10 12:30 ` [Buildroot] [PATCH 2/2] support/testing/tests/package/test_ncdu.py: new runtime test Julien Olivain
2022-12-11 10:51 ` [Buildroot] [PATCH 1/2] package/ncdu: bump to version 1.18 Thomas Petazzoni via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Julien Olivain @ 2022-12-10 12:30 UTC (permalink / raw)
To: buildroot; +Cc: Bogdan Radulescu, Julien Olivain
For change log since 1.17, see:
- https://dev.yorhel.nl/ncdu/changes
This commit also adds md5 and sha1 hashes published on the web site.
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
package/ncdu/ncdu.hash | 4 +++-
package/ncdu/ncdu.mk | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/package/ncdu/ncdu.hash b/package/ncdu/ncdu.hash
index c47b4f9bac..1e31eaea8e 100644
--- a/package/ncdu/ncdu.hash
+++ b/package/ncdu/ncdu.hash
@@ -1,5 +1,7 @@
# From https://dev.yorhel.nl/ncdu
-sha256 810745a8ed1ab3788c87d3aea4cc1a14edf6ee226f764bcc383e024ba56adbf1 ncdu-1.17.tar.gz
+md5 4186b5be477cc3a0944619ade81f123b ncdu-1.18.tar.gz
+sha1 d47ce3cdf317adadc1426817d07899c90b767aba ncdu-1.18.tar.gz
+sha256 3c37a1a96580c9c5d2cc352dc3c5eef0d909158c05f1cc29db4712544c8b9f95 ncdu-1.18.tar.gz
# computed locally
sha256 4590cb935ff8a50cee76ce12c2cb0411c0b06e84c267b478579785dcf328660d COPYING
diff --git a/package/ncdu/ncdu.mk b/package/ncdu/ncdu.mk
index acfd496ec8..240ef9d8ea 100644
--- a/package/ncdu/ncdu.mk
+++ b/package/ncdu/ncdu.mk
@@ -4,7 +4,7 @@
#
################################################################################
-NCDU_VERSION = 1.17
+NCDU_VERSION = 1.18
NCDU_SITE = http://dev.yorhel.nl/download
NCDU_DEPENDENCIES = ncurses
--
2.38.1
_______________________________________________
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 2/2] support/testing/tests/package/test_ncdu.py: new runtime test
2022-12-10 12:30 [Buildroot] [PATCH 1/2] package/ncdu: bump to version 1.18 Julien Olivain
@ 2022-12-10 12:30 ` Julien Olivain
2022-12-11 10:51 ` [Buildroot] [PATCH 1/2] package/ncdu: bump to version 1.18 Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain @ 2022-12-10 12:30 UTC (permalink / raw)
To: buildroot; +Cc: Bogdan Radulescu, Julien Olivain
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Tested on master branch at commit 4744cfb with commands:
make check-package
...
0 warnings generated
python3 -m flake8 support/testing/tests/package/test_ncdu.py
[no-output]
./utils/test-pkg -p ncdu
...
6 builds, 1 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed
support/testing/run-tests \
-d dl -o output_folder \
tests.package.test_ncdu.TestNcdu
...
OK
---
DEVELOPERS | 1 +
support/testing/tests/package/test_ncdu.py | 23 ++++++++++++++++++++++
2 files changed, 24 insertions(+)
create mode 100644 support/testing/tests/package/test_ncdu.py
diff --git a/DEVELOPERS b/DEVELOPERS
index 20677ef8ce..04047d43da 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1683,6 +1683,7 @@ F: support/testing/tests/package/sample_python_distro.py
F: support/testing/tests/package/sample_python_gnupg.py
F: support/testing/tests/package/sample_python_pyalsa.py
F: support/testing/tests/package/test_hwloc.py
+F: support/testing/tests/package/test_ncdu.py
F: support/testing/tests/package/test_octave.py
F: support/testing/tests/package/test_ola.py
F: support/testing/tests/package/test_ola/
diff --git a/support/testing/tests/package/test_ncdu.py b/support/testing/tests/package/test_ncdu.py
new file mode 100644
index 0000000000..cbbb27f751
--- /dev/null
+++ b/support/testing/tests/package/test_ncdu.py
@@ -0,0 +1,23 @@
+import os
+
+import infra.basetest
+
+
+class TestNcdu(infra.basetest.BRTest):
+ config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
+ """
+ BR2_PACKAGE_NCDU=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("ncdu --version")
+ self.assertRunOk("ncdu -x -o /tmp/ncdu.list /")
+ self.assertRunOk("grep -F '\"name\":\"ncdu\"' /tmp/ncdu.list")
--
2.38.1
_______________________________________________
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 1/2] package/ncdu: bump to version 1.18
2022-12-10 12:30 [Buildroot] [PATCH 1/2] package/ncdu: bump to version 1.18 Julien Olivain
2022-12-10 12:30 ` [Buildroot] [PATCH 2/2] support/testing/tests/package/test_ncdu.py: new runtime test Julien Olivain
@ 2022-12-11 10:51 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-12-11 10:51 UTC (permalink / raw)
To: Julien Olivain; +Cc: Bogdan Radulescu, buildroot
On Sat, 10 Dec 2022 13:30:47 +0100
Julien Olivain <ju.o@free.fr> wrote:
> For change log since 1.17, see:
> - https://dev.yorhel.nl/ncdu/changes
>
> This commit also adds md5 and sha1 hashes published on the web site.
>
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> package/ncdu/ncdu.hash | 4 +++-
> package/ncdu/ncdu.mk | 2 +-
> 2 files changed, 4 insertions(+), 2 deletions(-)
Both applied, 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:[~2022-12-11 10:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-10 12:30 [Buildroot] [PATCH 1/2] package/ncdu: bump to version 1.18 Julien Olivain
2022-12-10 12:30 ` [Buildroot] [PATCH 2/2] support/testing/tests/package/test_ncdu.py: new runtime test Julien Olivain
2022-12-11 10:51 ` [Buildroot] [PATCH 1/2] package/ncdu: bump to version 1.18 Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.