Use set -x in scripts
commit38e2e8fe1ddbdf5e93af7c933e3ba57437929c82
authorMichael Terry <michael.terry@canonical.com>
dateSun 5 Jun 2016, 23:25 (10 years ago)
parentf5df20d
cmake/modules/QmlTest.cmake+1−1
@@ -290,7 +290,7 @@ function(install_test_script TARGET_NAME)
290290
291291 # Now write the above test into a shell script that we can run on an
292292 # installed system.
293− set(script "#!/bin/sh\n\n")
293+ set(script "#!/bin/sh\n\nset -x\n\n")
294294 foreach(ONE_ENV ${TEST_ENVIRONMENT})
295295 set(script "${script}export ${ONE_ENV}\n")
296296 endforeach()