mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
complex: Move cmSystemTools::UpperCase test to CMakeLibTests
This test belongs in the CMakeLibTests test driver executable which correctly links to CMakeLib.
This commit is contained in:
@@ -149,20 +149,6 @@ extern "C" int NameConflictTest2();
|
||||
|
||||
int main()
|
||||
{
|
||||
#ifdef COMPLEX_TEST_CMAKELIB
|
||||
// ----------------------------------------------------------------------
|
||||
// Test cmSystemTools::UpperCase
|
||||
std::string str = "abc";
|
||||
std::string strupper = "ABC";
|
||||
if(cmSystemTools::UpperCase(str) == strupper)
|
||||
{
|
||||
cmPassed("cmSystemTools::UpperCase is working");
|
||||
}
|
||||
else
|
||||
{
|
||||
cmFailed("cmSystemTools::UpperCase is working");
|
||||
}
|
||||
#endif
|
||||
#if 0
|
||||
if(NameConflictTest1() == 0 && NameConflictTest2() == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user