Run only selenium tests with run-selenium.sh.

Previously run-selenium.sh ran all of the projects unit tests. This
was redundant as other tests capture the results of the other unit
tests. Run only the selenium tests to prevent duplicated effort. Also
output Xunit results.

Change-Id: Ic1f3ba8575f923dfa8f121a3deafdeb41f13bd00
This commit is contained in:
Clark Boylan 2012-07-26 08:54:59 -07:00
parent 6b7a834412
commit c50e983a02

View File

@ -14,7 +14,8 @@ DIMENSIONS='1280x1024x24'
/usr/bin/Xvfb :${VDISPLAY} -screen 0 ${DIMENSIONS} 2>&1 > /dev/null &
set +e
DISPLAY=:${VDISPLAY} tox -e$venv -- /bin/bash run_tests.sh -N --with-selenium
DISPLAY=:${VDISPLAY} NOSE_WITH_XUNIT=1 tox -e$venv -- \
/bin/bash run_tests.sh -N --only-selenium
result=$?
pkill Xvfb 2>&1 > /dev/null