Resolves: RHEL-1616 test11
This commit is contained in:
parent
35024746f1
commit
e8bc40f31f
@ -74,14 +74,13 @@
|
||||
# Delete LC_CTYPE=C.UTF-8
|
||||
export -n LC_CTYPE
|
||||
status="FAIL: frame"
|
||||
sh -x ibus-desktop-testing-runner \
|
||||
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"
|
||||
@ -97,14 +96,15 @@
|
||||
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: Execute IBus tests #2
|
||||
shell: |
|
||||
set -e
|
||||
sh -x check-results.sh "{{ remote_artifacts }}/test.log" "0" >foo.log
|
||||
cat foo.log
|
||||
|
||||
- name: Check the results
|
||||
script: check-results.sh "{{ remote_artifacts }}/test.log" "0"
|
||||
script: check-results.sh "{{ remote_artifacts }}/test.log" "0" 2>/dev/null
|
||||
register: test_fails
|
||||
failed_when: '"ERROR" in test_fails.stdout'
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user