From f5b978fe2f03c865549d4d0e3c9aebc8edc50288 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 27 Sep 2004 11:03:20 -0400 Subject: [PATCH] ENH: better message for skipping java --- Source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index b28bcaa55..7ef19f0c8 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -661,7 +661,7 @@ IF(BUILD_TESTING) IF(JAVA_COMPILE AND JAVA_RUNTIME AND JAVA_ARCHIVE) EXEC_PROGRAM(${JAVA_COMPILE} ARGS -version OUTPUT_VARIABLE OUT) IF(OUT MATCHES "invalid flag") - MESSAGE("This java does not even know what version it is!") + MESSAGE("Skipping Java Test because ${JAVA_COMPILE} -version produced: ${OUT}") ELSE(OUT MATCHES "invalid flag") ADD_TEST(Java ${CMAKE_CTEST_COMMAND} --build-and-test