local build not running java unit tests

classic Classic list List threaded Threaded
2 messages Options
Terrence Enger Terrence Enger
Reply | Threaded
Open this post in threaded view
|

local build not running java unit tests

Greetings all,

Having had a failure in a gerrit build
<https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/15160/>, I
realize that my local builds have not been running any Junit tests.

I am using debian-buster; my autogen.input is

    CC=ccache /usr/bin/gcc
    CXX=ccache /usr/bin/g++
    CCFLAGS=-Wshadow
    --with-jdk-home=/usr/lib/jvm/default-java
    --enable-split-debug
    --enable-gdb-index
    --enable-ld=gold
    --enable-option-checking=fatal
    --enable-dbgutil
    --enable-debug
    --without-system-postgresql
    --without-myspell-dicts
    --with-extra-buildid
    --without-doxygen
    --with-external-tar=/home/terry/lo_hacking/git/src
    --without-package-format

and my java is

    $ java -version
    openjdk version "10.0.2" 2018-07-17
    OpenJDK Runtime Environment (build 10.0.2+13-Debian-1)
    OpenJDK 64-Bit Server VM (build 10.0.2+13-Debian-1, mixed mode)
    $ javac -version
    javac 10.0.2
    $ ls -lA /usr/lib/jvm
    total 24
    drwxr-xr-x 9 root root 4096 Jul 22 23:06 java-10-openjdk-amd64
    drwxr-xr-x 7 root root 4096 May 30 11:11 java-8-openjdk-amd64
    drwxr-xr-x 9 root root 4096 Apr  7 21:48 java-9-openjdk-amd64
    -rw-r--r-- 1 root root 2619 Jul 18 12:31 .java-1.10.0-openjdk-amd64.jinfo
    -rw-r--r-- 1 root root 2600 May 17 16:17 .java-1.8.0-openjdk-amd64.jinfo
    -rw-r--r-- 1 root root 2696 Apr  2 03:28 .java-1.9.0-openjdk-amd64.jinfo
    lrwxrwxrwx 1 root root   25 Apr 30 16:34 default-java -> java-1.10.0-openjdk-amd64
    lrwxrwxrwx 1 root root   21 May  5 14:40 java-1.10.0-openjdk-amd64 -> java-10-openjdk-amd64
    lrwxrwxrwx 1 root root   20 Nov  2  2016 java-1.8.0-openjdk-amd64 -> java-8-openjdk-amd64
    lrwxrwxrwx 1 root root   20 Mar 16  2018 java-1.9.0-openjdk-amd64 -> java-9-openjdk-amd64

Please, what am I doing wrong?

Thank you, all, for your attention.
Terry

_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
sberg sberg
Reply | Threaded
Open this post in threaded view
|

Re: local build not running java unit tests

On 20/09/2018 20:56, Terrence Enger wrote:
> Having had a failure in a gerrit build
> <https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/15160/>, I
> realize that my local builds have not been running any Junit tests.

Is it just a question of plain `make` (running just a few tests, mostly
CppUnit ones) vs. `make check` (running all tests)?  Some of the
Gerrit/Jenkins bots run the latter.
_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice