Use the target output name for test targets on WASM
Since all tests can now be run by the batched test runner, rename the
main resource to a more suitable {_target_output_name}.html
Change-Id: Icda80ce95ac9ae51851d52ebb4b1ce668c528324
Reviewed-by: David Skoland <david.skoland@qt.io>
bb10
parent
8c1776ee07
commit
bbbc952d01
|
|
@ -28,7 +28,7 @@ function(_qt_internal_wasm_add_target_helpers target)
|
|||
get_target_property(is_test ${target} _qt_is_test_executable)
|
||||
if(is_test)
|
||||
configure_file("${WASM_BUILD_DIR}/libexec/batchedtestrunner.html"
|
||||
"${target_output_directory}/batchedtestrunner.html" COPYONLY)
|
||||
"${target_output_directory}/${_target_output_name}.html" COPYONLY)
|
||||
configure_file("${WASM_BUILD_DIR}/libexec/qtestoutputreporter.css"
|
||||
"${target_output_directory}/qtestoutputreporter.css" COPYONLY)
|
||||
configure_file("${WASM_BUILD_DIR}/libexec/batchedtestrunner.js"
|
||||
|
|
|
|||
Loading…
Reference in New Issue