d846ea423d
This tests resizing and moving in various setups. The test driver communicates with the actual modules to assert various postconditions. It's semi-automated so that minimum interaction is required. Change-Id: I745d689c6ffa6aa6d478b795dd433f5b067241f1 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
37 lines
1.0 KiB
CMake
37 lines
1.0 KiB
CMake
qt_internal_add_manual_test(qwasmwindow_harness
|
|
SOURCES
|
|
qwasmwindow_harness.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::Core
|
|
Qt::CorePrivate
|
|
Qt::GuiPrivate
|
|
)
|
|
|
|
add_custom_command(
|
|
TARGET qwasmwindow_harness POST_BUILD
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
${CMAKE_CURRENT_SOURCE_DIR}/qwasmwindow_harness.html
|
|
${CMAKE_CURRENT_BINARY_DIR}/qwasmwindow_harness.html
|
|
)
|
|
|
|
add_custom_command(
|
|
TARGET qwasmwindow_harness POST_BUILD
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
${CMAKE_CURRENT_SOURCE_DIR}/qwasmwindow.py
|
|
${CMAKE_CURRENT_BINARY_DIR}/qwasmwindow.py
|
|
)
|
|
|
|
add_custom_command(
|
|
TARGET qwasmwindow_harness POST_BUILD
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
${CMAKE_CURRENT_SOURCE_DIR}/run.sh
|
|
${CMAKE_CURRENT_BINARY_DIR}/run.sh
|
|
)
|
|
|
|
add_custom_command(
|
|
TARGET qwasmwindow_harness POST_BUILD
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../../../../util/wasm/qtwasmserver/qtwasmserver.py
|
|
${CMAKE_CURRENT_BINARY_DIR}/qtwasmserver.py
|
|
)
|