on xenial help sign in
Use set -x in scripts
38e2e8fMichael Terry
cmake/modules/QmlTest.cmake+1−1
@@ -290,7 +290,7 @@ function(install_test_script TARGET_NAME)
290
290
291 # Now write the above test into a shell script that we can run on an
291 # Now write the above test into a shell script that we can run on an
292 # installed system.
292 # installed system.
293− set(script "#!/bin/sh\n\n")
293+ set(script "#!/bin/sh\n\nset -x\n\n")
294 foreach(ONE_ENV ${TEST_ENVIRONMENT})
294 foreach(ONE_ENV ${TEST_ENVIRONMENT})
295 set(script "${script}export ${ONE_ENV}\n")
295 set(script "${script}export ${ONE_ENV}\n")
296 endforeach()
296 endforeach()