Navigation


Changeset 737:03bcd4870f44 in freeDiameter


Ignore:
Timestamp:
Mar 2, 2011, 4:28:14 PM (10 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Set default output to CHECK only in nightly tests

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contrib/nightly_tests/runtests.sh

    r410 r737  
    107107
    108108       set(CTEST_CONFIGURE_COMMAND "\${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE:STRING=\${CTEST_BUILD_CONFIGURATION}")
    109        set(CTEST_CONFIGURE_COMMAND "\${CTEST_CONFIGURE_COMMAND} -DWITH_TESTING:BOOL=ON \${CTEST_BUILD_OPTIONS}")
     109       set(CTEST_CONFIGURE_COMMAND "\${CTEST_CONFIGURE_COMMAND} -DWITH_TESTING:BOOL=ON -DOPT_TEST_ARGUMENTS:STRING=-d \${CTEST_BUILD_OPTIONS}")
    110110       set(CTEST_CONFIGURE_COMMAND "\${CTEST_CONFIGURE_COMMAND} \\"-G\${CTEST_CMAKE_GENERATOR}\\"")
    111111       set(CTEST_CONFIGURE_COMMAND "\${CTEST_CONFIGURE_COMMAND} \\"\${CTEST_SOURCE_DIRECTORY}\\"")
  • tests/CMakeLists.txt

    r733 r737  
    77        ADD_DEFINITIONS(-DTEST_TIMEOUT=${TEST_TIMEOUT})
    88ENDIF(TEST_TIMEOUT)
     9
     10# default command line for the tests
     11OPTION(OPT_TEST_ARGUMENTS "Specify the default arguments for the tests" OFF)
     12IF(OPT_TEST_ARGUMENT)
     13        SET(TEST_ARGUMENTS ${OPT_TEST_ARGUMENTS})
     14ELSE(OPT_TEST_ARGUMENT)
     15        SET(TEST_ARGUMENTS "")
     16ENDIF(OPT_TEST_ARGUMENT)
    917
    1018
     
    98106   ADD_EXECUTABLE(${TEST} ${TEST}.c tests.h ${${TEST}_ADDITIONAL})
    99107   TARGET_LINK_LIBRARIES(${TEST} libfdproto libfdcore ${GNUTLS_LIBRARIES} ${GCRYPT_LIBRARY} ${${TEST}_ADDITIONAL_LIB})
    100    ADD_TEST(${TEST} ${EXECUTABLE_OUTPUT_PATH}/${TEST})
     108   ADD_TEST(${TEST} ${EXECUTABLE_OUTPUT_PATH}/${TEST} ${TEST_ARGUMENTS})
    101109ENDFOREACH( TEST )
    102110
Note: See TracChangeset for help on using the changeset viewer.