From 1950f8cd8c3f0c8378f1f7c49eae802a21bca843 Mon Sep 17 00:00:00 2001 From: jay-tux Date: Mon, 28 Feb 2022 20:10:04 +0100 Subject: [PATCH] Make tests run always, fix test issue --- test/Makefile | 2 +- test/src/test_sources.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Makefile b/test/Makefile index f484ccf..00c3c50 100644 --- a/test/Makefile +++ b/test/Makefile @@ -33,4 +33,4 @@ clean: find ./obj/ -type f | grep -v '.gitkeep' | xargs rm -rf find ./conan/ -type f | grep -v '.gitkeep' | xargs rm -rf -.PHONY: all dirs clean $(TESTS:%=$(BIND)/%) +.PHONY: all dirs clean $(TESTS:%=$(BIND)/%) $(BIND)/_test diff --git a/test/src/test_sources.cpp b/test/src/test_sources.cpp index f81e13f..4600bcd 100644 --- a/test/src/test_sources.cpp +++ b/test/src/test_sources.cpp @@ -102,7 +102,7 @@ TEST_CASE("Generator from std::istream") { } bool genstate = gen; - CHECK(genstate); + CHECK(!genstate); } TEST_CASE("Generator from std::istream, by lines") {