diff --git a/tests/roles/ibus-desktop-testing-role/tasks/main.yml b/tests/roles/ibus-desktop-testing-role/tasks/main.yml index e7b2adb..0c75ad5 100644 --- a/tests/roles/ibus-desktop-testing-role/tasks/main.yml +++ b/tests/roles/ibus-desktop-testing-role/tasks/main.yml @@ -47,7 +47,7 @@ chdir: gnome-desktop-testing - name: Configure GNOME installed-tests testing harness build - command: ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var + command: ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var 2>&1 args: chdir: gnome-desktop-testing @@ -74,13 +74,14 @@ # Delete LC_CTYPE=C.UTF-8 export -n LC_CTYPE status="FAIL: frame" - ibus-desktop-testing-runner \ + sh -x ibus-desktop-testing-runner \ --no-graphics \ --runner=gnome \ --tests='{{ installed_test_name }}' \ --output='{{ remote_artifacts }}/{{ installed_test_name }}.log' \ --result='{{ remote_artifacts }}/test.log' \ --timeout=900 \ + >& '{{ remote_artifacts }}/foo.log' null if [ $? -eq 0 ]; then status="PASS: frame" @@ -96,6 +97,11 @@ cat {{ remote_artifacts }}/test.log fi echo "#" + echo "#### {{ remote_artifacts }}/foo.log" + if [ -f {{ remote_artifacts }}/foo.log ] ; then + cat {{ remote_artifacts }}/foo.log + fi + echo "#" - name: Check the results script: check-results.sh "{{ remote_artifacts }}/test.log" "0"