run tests using nice. this allows certain linux systems to remain responsive to user input while running check_dirtyPageTable

This commit is contained in:
Sears Russell 2010-01-07 21:52:04 +00:00
parent c30aaa3a1a
commit 0ac0a768aa

View file

@ -105,13 +105,13 @@ int main(int argc, char* argv[]) {
MACRO(CREATE_CHECK NAME)
ADD_EXECUTABLE(${NAME} ${NAME}.c)
TARGET_LINK_LIBRARIES(${NAME} ${COMMON_LIBRARIES})
ADD_TEST(${NAME} ${NAME})
ADD_TEST(${NAME} nice ./${NAME})
ENDMACRO(CREATE_CHECK)
MACRO(CREATE_CHECK_OPT NAME OPT)
ADD_EXECUTABLE(${NAME} ${NAME}.c)
TARGET_LINK_LIBRARIES(${NAME} ${COMMON_LIBRARIES})
ADD_TEST(${NAME} ${NAME} ${OPT})
ADD_TEST(${NAME} nice ./${NAME} ${OPT})
ENDMACRO(CREATE_CHECK_OPT)
MACRO(CREATE_EXECUTABLE NAME)