~vila/otto/testsuite_autopilot-unity-collect-Xorg

« back to all changes in this revision

Viewing changes to target-override/usr/local/bin/run-autopilot.sh

  • Committer: Jean-Baptiste Lallement
  • Date: 2013-07-02 13:42:30 UTC
  • Revision ID: jean-baptiste.lallement@ubuntu.com-20130702134230-fpfwixls2n29lgux
Do not use recordmydesktop for Unity as it is suspected of causing memory issues (fragmentation)

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
    esac
171
171
done
172
172
 
 
173
# Disable recordmydesktop for unity tests
 
174
# It is suspected to caused memory fragmentation and make the test crash
 
175
if [ -e "$AP_TESTSUITES" ]; then
 
176
    if grep -qw "unity" "$AP_TESTSUITES" 2>/dev/null; then
 
177
        RMD_OPTS=""
 
178
    fi
 
179
fi
 
180
 
173
181
if which recordmydesktop >/dev/null 2>&1; then
174
182
    AP_OPTS="$AP_OPTS $RMD_OPTS"
175
183
fi