aboutsummaryrefslogtreecommitdiff
path: root/tests/src/confTest/confTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/confTest/confTest.cpp')
-rw-r--r--tests/src/confTest/confTest.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/src/confTest/confTest.cpp b/tests/src/confTest/confTest.cpp
index b5d5ae1..8dab691 100644
--- a/tests/src/confTest/confTest.cpp
+++ b/tests/src/confTest/confTest.cpp
@@ -83,11 +83,13 @@ TEST_CASE("parse config - use different config for different platforms")
}
#if OS_TYPE == OS_TYPE_LINUX and defined(SIBS_ENV_64BIT)
- #ifdef DEBUG
- REQUIRE(sibsConfig.getDebugStaticLibs()[0] == TINYDIR_STRING("tests/src/confTest/linux/x64/static/debug/libcool.a"));
- #else
- REQUIRE(sibsConfig.getDebugStaticLibs()[0] == TINYDIR_STRING("tests/src/confTest/linux/x64/static/release/libcool.a"));
- #endif
+ REQUIRE(sibsConfig.getDebugStaticLibs()[0] == TINYDIR_STRING("tests/src/confTest/linux/x64/static/debug/libcool.a"));
+ REQUIRE(sibsConfig.getReleaseStaticLibs()[0] == TINYDIR_STRING("tests/src/confTest/linux/x64/static/release/libcool.a"));
+ REQUIRE(sibsConfig.getGlobalIncludeDirs()[0] == "include_linux64");
+ #elif OS_TYPE == OS_TYPE_LINUX and defined(SIBS_ENV_32BIT)
+ REQUIRE(sibsConfig.getDebugStaticLibs()[0] == TINYDIR_STRING("tests/src/confTest/linux/x86/static/debug/libcool.a"));
+ REQUIRE(sibsConfig.getReleaseStaticLibs()[0] == TINYDIR_STRING("tests/src/confTest/linux/x86/static/release/libcool.a"));
+ REQUIRE(sibsConfig.getGlobalIncludeDirs()[0] == "include_linux32");
#endif
}