Changeset 14309 in josm for trunk


Ignore:
Timestamp:
2018-10-08T20:52:59+02:00 (13 months ago)
Author:
Don-vip
Message:

see #16819 - log more information when running junit tests on Travis

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r14307 r14309  
    66dist: trusty
    77env:
    8   - ANT_INVOCATION="xvfb-run ant -Dtest.headless=false"
    9   - ANT_INVOCATION="ant -Dtest.headless=true"
     8  - ANT_INVOCATION="xvfb-run ant -Dtest.headless=false -Djunit.printsummary=withOutAndErr"
     9  - ANT_INVOCATION="ant -Dtest.headless=true -Djunit.printsummary=withOutAndErr"
    1010jdk:
    1111  - oraclejdk11
     
    1717    osx_image: xcode9.2
    1818    jdk: ~
    19     env: ANT_INVOCATION="ant -Dtest.headless=true"
     19    env: ANT_INVOCATION="ant -Dtest.headless=true -Djunit.printsummary=withOutAndErr"
    2020before_install:
    2121  - wget https://www.apache.org/dist/ant/binaries/apache-ant-1.10.5-bin.tar.gz
  • trunk/build.xml

    r14258 r14309  
    5050        <property name="jacoco.inclbootstrapclasses" value="false" />
    5151        <property name="jacoco.inclnolocationclasses" value="false" />
     52        <property name="junit.printsummary" value="on" />
    5253        <!-- build parameter: compression level (ant -Dclevel=N)
    5354                 N ranges from 0 (no compression) to 9 (maximum compression)
     
    494495            <jacoco:coverage destfile="${test.dir}/jacoco@{testITsuffix}.exec" enabled="@{coverage}" includes="${jacoco.includes}"
    495496                inclbootstrapclasses="${jacoco.inclbootstrapclasses}" inclnolocationclasses="${jacoco.inclnolocationclasses}">
    496                 <junit printsummary="yes" fork="true" forkmode="once" failureproperty="test.@{testfamily}@{testITsuffix}.failed">
     497                <junit printsummary="${junit.printsummary}" fork="true" forkmode="once" failureproperty="test.@{testfamily}@{testITsuffix}.failed">
    497498                    <jvmarg value="-Dfile.encoding=UTF-8"/>
    498499                    <jvmarg value="-javaagent:${test.dir}/lib/jmockit-1.41.jar"/>
Note: See TracChangeset for help on using the changeset viewer.