mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-05 23:23:51 -09:00
Buildroot commit9cfcd906cfbumped the package from 1.33.1 to 1.37.1. Upstream changed the optional C++ support into a mandatory dependency with commitb6d2a3662dadded to version 1.35.0 causing build errors with toolchains without C++ support: GEN netdatacli /bin/sh: line 1: no: command not found make[3]: *** [Makefile:5502: netdatacli] Error 127 Fixes: https://autobuild.buildroot.org/results/7084a73d5727a86ca55eda3d1f01ea4d5b8ecf65/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Reviewed-by: Michael Cullen <michael@michaelcullen.name> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
24 lines
682 B
Python
24 lines
682 B
Python
import os
|
|
|
|
import infra.basetest
|
|
|
|
|
|
class TestNetdata(infra.basetest.BRTest):
|
|
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
|
|
"""
|
|
BR2_INSTALL_LIBSTDCPP=y
|
|
BR2_PACKAGE_NETDATA=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()
|
|
|
|
cmd = "wget localhost:19999 -O - | grep '<title>netdata dashboard</title>'"
|
|
self.assertRunOk(cmd)
|