ENH: remove duplicate file name test because it fails on xcode
This commit is contained in:
parent
71b370c79c
commit
1c44342cff
|
@ -20,8 +20,8 @@ SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared;CMakeTestCLibraryShared
|
|||
LINK_LIBRARIES(${COMPLEX_LIBS})
|
||||
|
||||
ADD_EXECUTABLE(A A.cxx)
|
||||
ADD_EXECUTABLE(complex complex testcflags.c
|
||||
Sub1/NameConflictTest.c Sub2/NameConflictTest.c)
|
||||
ADD_EXECUTABLE(complex complex testcflags.c )
|
||||
# Sub1/NameConflictTest.c Sub2/NameConflictTest.c)
|
||||
ADD_EXECUTABLE(complex.file complex.file.cxx)
|
||||
IF(NOT CMAKE_TEST_DIFFERENT_GENERATOR)
|
||||
TARGET_LINK_LIBRARIES(complex CMakeLib cmsys cmexpat cmzlib cmtar)
|
||||
|
|
|
@ -290,10 +290,12 @@ void ForceStringUse()
|
|||
extern "C" int TestCFlags(char* m);
|
||||
extern "C" int TestTargetCompileFlags(char* m);
|
||||
|
||||
#if 0
|
||||
// defined in Sub1/NameConflictTest.c
|
||||
extern "C" int NameConflictTest1();
|
||||
// defined in Sub2/NameConflictTest.c
|
||||
extern "C" int NameConflictTest2();
|
||||
#endif
|
||||
|
||||
// ======================================================================
|
||||
|
||||
|
@ -400,6 +402,7 @@ int main()
|
|||
cmFailed("cmSystemTools::UpperCase is working");
|
||||
}
|
||||
#endif
|
||||
#if 0
|
||||
if(NameConflictTest1() == 0 && NameConflictTest2() == 0)
|
||||
{
|
||||
cmPassed("Sub dir with same named source works");
|
||||
|
@ -408,6 +411,7 @@ int main()
|
|||
{
|
||||
cmFailed("Sub dir with same named source fails");
|
||||
}
|
||||
#endif
|
||||
if(file1() != 1)
|
||||
{
|
||||
cmFailed("Call to file1 function from library failed.");
|
||||
|
|
|
@ -20,8 +20,8 @@ SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared;CMakeTestCLibraryShared
|
|||
LINK_LIBRARIES(${COMPLEX_LIBS})
|
||||
|
||||
ADD_EXECUTABLE(A A.cxx)
|
||||
ADD_EXECUTABLE(complex complex testcflags.c
|
||||
Sub1/NameConflictTest.c Sub2/NameConflictTest.c)
|
||||
ADD_EXECUTABLE(complex complex testcflags.c )
|
||||
# Sub1/NameConflictTest.c Sub2/NameConflictTest.c)
|
||||
ADD_EXECUTABLE(complex.file complex.file.cxx)
|
||||
IF(NOT CMAKE_TEST_DIFFERENT_GENERATOR)
|
||||
TARGET_LINK_LIBRARIES(complex CMakeLib cmsys cmexpat cmzlib cmtar)
|
||||
|
|
|
@ -290,10 +290,12 @@ void ForceStringUse()
|
|||
extern "C" int TestCFlags(char* m);
|
||||
extern "C" int TestTargetCompileFlags(char* m);
|
||||
|
||||
#if 0
|
||||
// defined in Sub1/NameConflictTest.c
|
||||
extern "C" int NameConflictTest1();
|
||||
// defined in Sub2/NameConflictTest.c
|
||||
extern "C" int NameConflictTest2();
|
||||
#endif
|
||||
|
||||
// ======================================================================
|
||||
|
||||
|
@ -400,6 +402,7 @@ int main()
|
|||
cmFailed("cmSystemTools::UpperCase is working");
|
||||
}
|
||||
#endif
|
||||
#if 0
|
||||
if(NameConflictTest1() == 0 && NameConflictTest2() == 0)
|
||||
{
|
||||
cmPassed("Sub dir with same named source works");
|
||||
|
@ -408,6 +411,7 @@ int main()
|
|||
{
|
||||
cmFailed("Sub dir with same named source fails");
|
||||
}
|
||||
#endif
|
||||
if(file1() != 1)
|
||||
{
|
||||
cmFailed("Call to file1 function from library failed.");
|
||||
|
|
|
@ -20,8 +20,8 @@ SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared;CMakeTestCLibraryShared
|
|||
LINK_LIBRARIES(${COMPLEX_LIBS})
|
||||
|
||||
ADD_EXECUTABLE(A A.cxx)
|
||||
ADD_EXECUTABLE(complex complex testcflags.c
|
||||
Sub1/NameConflictTest.c Sub2/NameConflictTest.c)
|
||||
ADD_EXECUTABLE(complex complex testcflags.c )
|
||||
# Sub1/NameConflictTest.c Sub2/NameConflictTest.c)
|
||||
ADD_EXECUTABLE(complex.file complex.file.cxx)
|
||||
IF(NOT CMAKE_TEST_DIFFERENT_GENERATOR)
|
||||
TARGET_LINK_LIBRARIES(complex CMakeLib cmsys cmexpat cmzlib cmtar)
|
||||
|
|
|
@ -290,10 +290,12 @@ void ForceStringUse()
|
|||
extern "C" int TestCFlags(char* m);
|
||||
extern "C" int TestTargetCompileFlags(char* m);
|
||||
|
||||
#if 0
|
||||
// defined in Sub1/NameConflictTest.c
|
||||
extern "C" int NameConflictTest1();
|
||||
// defined in Sub2/NameConflictTest.c
|
||||
extern "C" int NameConflictTest2();
|
||||
#endif
|
||||
|
||||
// ======================================================================
|
||||
|
||||
|
@ -400,6 +402,7 @@ int main()
|
|||
cmFailed("cmSystemTools::UpperCase is working");
|
||||
}
|
||||
#endif
|
||||
#if 0
|
||||
if(NameConflictTest1() == 0 && NameConflictTest2() == 0)
|
||||
{
|
||||
cmPassed("Sub dir with same named source works");
|
||||
|
@ -408,6 +411,7 @@ int main()
|
|||
{
|
||||
cmFailed("Sub dir with same named source fails");
|
||||
}
|
||||
#endif
|
||||
if(file1() != 1)
|
||||
{
|
||||
cmFailed("Call to file1 function from library failed.");
|
||||
|
|
Loading…
Reference in New Issue