ENH: make sure it is qt3 before running test

This commit is contained in:
Bill Hoffman 2006-11-22 14:26:01 -05:00
parent fb8a239f94
commit 05e12b0ba5
1 changed files with 2 additions and 2 deletions

View File

@ -729,7 +729,7 @@ IF(BUILD_TESTING)
QT_QT_LIBRARY
QT_UIC_EXE)
IF (QT_FOUND AND QT_UIC_EXECUTABLE)
IF (QT_FOUND AND QT_WRAP_UI)
ADD_TEST(qtwrapping ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/Wrapping"
@ -740,7 +740,7 @@ IF(BUILD_TESTING)
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Wrapping/bin"
--test-command qtwrapping
)
ENDIF (QT_FOUND AND QT_UIC_EXECUTABLE)
ENDIF (QT_FOUND AND QT_WRAP_UI)
ADD_TEST(testdriver1 ${CMAKE_CTEST_COMMAND}
--build-and-test