mirror of
https://github.com/wownero/lwsf-wow.git
synced 2026-10-17 07:21:28 +02:00
Actually build+run new unit tests (#12)
(cherry picked from commit bd6c499a25e7ee6dcf717ae9ad0c852cee359dc9)
This commit is contained in:
@@ -33,5 +33,6 @@ target_link_libraries(lwsf-unit-framework)
|
|||||||
add_executable(lwsf-unit main.cpp backend.test.cpp rpc.test.cpp)
|
add_executable(lwsf-unit main.cpp backend.test.cpp rpc.test.cpp)
|
||||||
|
|
||||||
add_subdirectory(net)
|
add_subdirectory(net)
|
||||||
target_link_libraries(lwsf-unit lwsf-api lwsf-unit-framework lwsf-unit-net monero::libraries)
|
add_subdirectory(utils)
|
||||||
|
target_link_libraries(lwsf-unit lwsf-api lwsf-unit-framework lwsf-unit-net lwsf-unit-utils monero::libraries)
|
||||||
add_test(NAME lwsf-unit COMMAND lwsf-unit -v)
|
add_test(NAME lwsf-unit COMMAND lwsf-unit -v)
|
||||||
|
|||||||
@@ -26,5 +26,5 @@
|
|||||||
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
||||||
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
add_library(lwsf-unit-util OBJECT ascii.test.cpp)
|
add_library(lwsf-unit-utils OBJECT ascii.test.cpp)
|
||||||
target_link_libraries(lwsf-unit-util PRIVATE lwsf-unit-framework lwsf)
|
target_link_libraries(lwsf-unit-utils PRIVATE lwsf-unit-framework lwsf-api)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
#include "framework.test.h"
|
#include "framework.test.h"
|
||||||
|
|
||||||
#include "util/ascii.h"
|
#include "utils/ascii.h"
|
||||||
|
|
||||||
LWS_CASE("util::ascii")
|
LWS_CASE("util::ascii")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user