diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-01 15:01:39 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | 88effd4a0d63e37a2851712f63a9709a1e322946 (patch) | |
tree | 8a6334a870f56afb5bf76c32d0bd202de694995c /include | |
parent | 69c7ec31219d666bba4f053fcce07d4df58b8ba2 (diff) |
Fix sibs not finding test code in subdirs of test dir
Fix platform specific configs, not all configs were checked
Diffstat (limited to 'include')
-rw-r--r-- | include/Conf.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<std::string, std::string>& 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 { |