Skip to content

Commit

Permalink
LRQA-33560 Fail tests on error
Browse files Browse the repository at this point in the history
  • Loading branch information
vicnate5 authored and brianchandotcom committed Apr 8, 2019
1 parent 8afe52d commit f62aa66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-test-tck.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@

<var name="tck.properties" value="-Dtest.context.base='${test.context.base[tck]}' -Dtest.server.username.id='${test.server.username.id[tck]}' -Dtest.server.username='${test.server.username[tck]}' -Dtest.server.password.id='${test.server.password.id[tck]}' -Dtest.server.password='${test.server.password[tck]}' -Dtest.timeout='${test.timeout[tck]}' -Dtest.ignore.list.file=${project.dir}/tools/tck/ignoredTestCases.xml -Dtest.non.exclusive.file=${project.dir}/tools/tck/nonExclusiveTestCases.xml" />

<execute dir="${tck.home}" failonerror="false">
<execute dir="${tck.home}" failonerror="true">
mvn -Pliferay,run-tck -Djava.awt.headless=true ${tck.properties} -Dtest.browser=htmlunit -Dtest.browser.binary= -Dtest.browser.webDriver= -Dtest.list.file=${project.dir}/tools/tck/htmlunit-tests.xml test
</execute>

Expand All @@ -152,7 +152,7 @@

<propertycopy from="selenium.${browser.type[tck]}.driver.executable" name="tck.selenium.browser.driver.executable" silent="true" />

<execute dir="${tck.home}" failonerror="false">
<execute dir="${tck.home}" failonerror="true">
mvn -Pliferay,run-tck -Djava.awt.headless=true ${tck.properties} -Dtest.browser=${browser.type[tck]} -Dtest.browser.binary='${tck.browser.bin.file}' -Dtest.browser.webDriver=${project.dir}/tools/tck/../${selenium.executable.dir.name}${tck.selenium.browser.driver.executable} -Dtest.list.file=${tck.tests.xml} test
</execute>

Expand Down

0 comments on commit f62aa66

Please sign in to comment.