Added tests for "averages-count"
This commit is contained in:
parent
97a655c856
commit
710be9e355
@ -41,7 +41,7 @@ elseif(COMPILER_SUPPORTS_CXX0X)
|
|||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR
|
message(FATAL_ERROR
|
||||||
"Compiler ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} has no C++11 support.")
|
"Compiler ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} has no C++11 support.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# generate header file to handle version
|
# generate header file to handle version
|
||||||
@ -135,6 +135,22 @@ if(BUILD_TESTING)
|
|||||||
COMMAND tmux-mem-cpu-load -m 2
|
COMMAND tmux-mem-cpu-load -m 2
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_test(NAME averages_count_0
|
||||||
|
COMMAND tmux-mem-cpu-load -a 0
|
||||||
|
)
|
||||||
|
|
||||||
|
add_test(NAME averages_count_1
|
||||||
|
COMMAND tmux-mem-cpu-load -a 1
|
||||||
|
)
|
||||||
|
|
||||||
|
add_test(NAME averages_count_2
|
||||||
|
COMMAND tmux-mem-cpu-load -a 2
|
||||||
|
)
|
||||||
|
|
||||||
|
add_test(NAME averages_count_3
|
||||||
|
COMMAND tmux-mem-cpu-load -a 3
|
||||||
|
)
|
||||||
|
|
||||||
set_tests_properties(usage
|
set_tests_properties(usage
|
||||||
invalid_status_interval
|
invalid_status_interval
|
||||||
invalid_graph_lines
|
invalid_graph_lines
|
||||||
|
Loading…
Reference in New Issue
Block a user