From 838dc59b915bcf08bbcbd1d474565e9c4fb679d7 Mon Sep 17 00:00:00 2001 From: Andrea Bondavalli Date: Wed, 12 Mar 2025 10:00:23 +0100 Subject: [PATCH] Fixed daemon tests broken built, see #20 Added daemon tests build to build.sh script Changed daemon version to 2.0.4 --- build.sh | 7 +++++-- daemon/main.cpp | 4 ++-- test/check.cc | 1 + 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 31b7f24..8f14b2b 100755 --- a/build.sh +++ b/build.sh @@ -4,8 +4,8 @@ # #we need clang when compiling on ARMv7 -export CC=/usr/bin/clang -export CXX=/usr/bin/clang++ +#export CC=/usr/bin/clang +#export CXX=/usr/bin/clang++ TOPDIR=$(pwd) @@ -43,4 +43,7 @@ cmake \ . make cd .. +cd test +make +cd .. diff --git a/daemon/main.cpp b/daemon/main.cpp index 429f55c..4978635 100644 --- a/daemon/main.cpp +++ b/daemon/main.cpp @@ -1,7 +1,7 @@ // // main.cpp // -// Copyright (c) 2019 2020 Andrea Bondavalli. All rights reserved. +// Copyright (c) 2019 2025 Andrea Bondavalli. All rights reserved. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -43,7 +43,7 @@ namespace po = boost::program_options; namespace postyle = boost::program_options::command_line_style; namespace logging = boost::log; -static const std::string version("bondagit-2.0.3"); +static const std::string version("bondagit-2.0.4"); static std::atomic terminate = false; void termination_handler(int signum) { diff --git a/test/check.cc b/test/check.cc index 883ba6b..50ca3f3 100644 --- a/test/check.cc +++ b/test/check.cc @@ -1,6 +1,7 @@ // basic file operations #include #include +#include using namespace std;