From 88effd4a0d63e37a2851712f63a9709a1e322946 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 1 Oct 2018 15:01:39 +0200 Subject: Fix sibs not finding test code in subdirs of test dir Fix platform specific configs, not all configs were checked --- include/Conf.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/Conf.hpp b/include/Conf.hpp index d492e99..87f4fad 100644 --- a/include/Conf.hpp +++ b/include/Conf.hpp @@ -191,8 +191,8 @@ namespace sibs "config.openbsd64.static.debug", "config.openbsd64.static.release" }; - const int NUM_CONFIGS = 12; - const int CONFIGS_GENERIC_OFFSET = 15; + const int NUM_CONFIGS = 3 * 13; + const int CONFIGS_GENERIC_OFFSET = 3 * 5; #if OS_TYPE == OS_TYPE_WINDOWS #ifdef SIBS_ENV_32BIT @@ -490,7 +490,7 @@ namespace sibs virtual bool define(const std::string &name, const std::string &value); virtual const std::unordered_map& getDefines() const; - virtual bool isTest() { return false; } + virtual bool isTest() const { return false; } // Get define value by name. // Return empty string if the value is empty or if the defined value doesn't exist @@ -558,7 +558,7 @@ namespace sibs virtual ~SibsTestConfig(){} - bool isTest() override { return true; } + bool isTest() const override { return true; } PackageType getPackageType() const override { -- cgit v1.2.3