|
|
@@ -11,6 +11,9 @@ set(CTEST_DROP_METHOD "@drop_method@")
|
|
|
# Settings:
|
|
|
SET(CTEST_USE_LAUNCHERS 1)
|
|
|
|
|
|
+# Emit these compiler warnings:
|
|
|
+set(ENV{CXXFLAGS} "$ENV{CXXFLAGS} -Wall")
|
|
|
+
|
|
|
SET(CTEST_SITE "@SITE@")
|
|
|
SET(CTEST_BUILD_NAME "CTestTestLaunchers-@drop_method@")
|
|
|
|
|
|
@@ -32,7 +35,7 @@ CTEST_START(Experimental)
|
|
|
# explicitly do not use CTEST_UPDATE - avoid network activity
|
|
|
|
|
|
CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}"
|
|
|
- OPTIONS "-DCTEST_USE_LAUNCHERS:BOOL=${CTEST_USE_LAUNCHERS}"
|
|
|
+ OPTIONS "-DCTEST_USE_LAUNCHERS:BOOL=${CTEST_USE_LAUNCHERS};-DSAF_INTENTIONAL_COMPILE_ERROR:BOOL=ON;-DSAF_INTENTIONAL_COMPILE_WARNING:BOOL=ON"
|
|
|
RETURN_VALUE res)
|
|
|
CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
|
|
|
CTEST_TEST(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
|