not run dashboard tests

Bill Hoffman bill.hoffman at kitware.com
Tue Aug 8 20:01:29 CEST 2006


So, for all dashboards it is showing 8 not run tests.
I think the problem is that the dashboards turn of building tests.

KDE4_BUILD_TESTS:BOOL=OFF


The problem is here:

 phonon/tests/CMakeLists.txt 

MACRO( PHONON_DECLARE_TESTS )
        IF(KDE4_BUILD_TESTS)
                FOREACH( _testname ${ARGN} )
                        kde4_automoc( ${_testname}.cpp )
                        kde4_add_executable( ${_testname} ${_testname}.cpp )
                        target_link_libraries( ${_testname} ${KDE4_KDECORE_LIBS} phononcore ${QT_QTTEST_LIBRARY} )
                ENDFOREACH( _testname )
        ENDIF(KDE4_BUILD_TESTS)
ENDMACRO( PHONON_DECLARE_TESTS )

PHONON_DECLARE_TESTS(
        methodtest
        mediaobjecttest
        audiopathtest
        backendcapabilitiestest
        audiooutputtest
        audiodataoutputtest
        audiooutputdevicetest
        audiocapturedevicetest
        videocapturedevicetest
        )

add_test(methodtest ${EXECUTABLE_OUTPUT_PATH}/methodtest)
add_test(backendcapabilitiestest ${EXECUTABLE_OUTPUT_PATH}/backendcapabilitiestest)
add_test(audiopathtest ${EXECUTABLE_OUTPUT_PATH}/audiopathtest)
add_test(audiooutputtest ${EXECUTABLE_OUTPUT_PATH}/audiooutputtest)
add_test(audiooutputdevicetest ${EXECUTABLE_OUTPUT_PATH}/audiooutputdevicetest)
add_test(audiocapturedevicetest ${EXECUTABLE_OUTPUT_PATH}/audiocapturedevicetest)
add_test(videocapturedevicetest ${EXECUTABLE_OUTPUT_PATH}/videocapturedevicetest)

The add_test stuff needs to be inside an if(KDE4_BUILD_TESTS).


-Bill



More information about the Kde-buildsystem mailing list