Fix to build.sh to restore module compilation and to daemon regression tests

This commit is contained in:
Andrea Bondavalli 2024-09-16 12:38:32 +02:00
parent 969e343309
commit 1b057635f3
4 changed files with 9 additions and 2 deletions

1
3rdparty/.gitignore vendored
View File

@ -1 +0,0 @@
/ravenna-alsa-lkm

View File

@ -12,6 +12,10 @@ TOPDIR=$(pwd)
echo "Init git submodules ..." echo "Init git submodules ..."
git submodule update --init --recursive git submodule update --init --recursive
cd 3rdparty/ravenna-alsa-lkm/driver
make
cd -
cd webui cd webui
echo "Downloading current webui release ..." echo "Downloading current webui release ..."
wget --timestamping https://github.com/bondagit/aes67-linux-daemon/releases/latest/download/webui.tar.gz wget --timestamping https://github.com/bondagit/aes67-linux-daemon/releases/latest/download/webui.tar.gz

View File

@ -17,7 +17,7 @@
"syslog_server": "255.255.255.254:1234", "syslog_server": "255.255.255.254:1234",
"status_file": "", "status_file": "",
"interface_name": "lo", "interface_name": "lo",
"mdns_enabled": false, "mdns_enabled": true,
"custom_node_id": "test node", "custom_node_id": "test node",
"node_id": "test node", "node_id": "test node",
"ptp_status_script": "", "ptp_status_script": "",

View File

@ -430,7 +430,11 @@ BOOST_AUTO_TEST_CASE(get_config) {
BOOST_CHECK_MESSAGE(node_id == "test node", "config as excepcted"); BOOST_CHECK_MESSAGE(node_id == "test node", "config as excepcted");
BOOST_CHECK_MESSAGE(custom_node_id == "test node", "config as excepcted"); BOOST_CHECK_MESSAGE(custom_node_id == "test node", "config as excepcted");
BOOST_CHECK_MESSAGE(auto_sinks_update == true, "config as excepcted"); BOOST_CHECK_MESSAGE(auto_sinks_update == true, "config as excepcted");
#ifdef _USE_AVAHI_
BOOST_CHECK_MESSAGE(mdns_enabled == true, "config as excepcted");
#else
BOOST_CHECK_MESSAGE(mdns_enabled == false, "config as excepcted"); BOOST_CHECK_MESSAGE(mdns_enabled == false, "config as excepcted");
#endif
BOOST_CHECK_MESSAGE(streamer_enabled == false, "config as excepcted"); BOOST_CHECK_MESSAGE(streamer_enabled == false, "config as excepcted");
BOOST_CHECK_MESSAGE(streamer_channels == 8, "config as excepcted"); BOOST_CHECK_MESSAGE(streamer_channels == 8, "config as excepcted");
BOOST_CHECK_MESSAGE(streamer_files_num == 6, "config as excepcted"); BOOST_CHECK_MESSAGE(streamer_files_num == 6, "config as excepcted");