Issue 116390 - solenv: add support for JUnit tests in gnumake
Summary: solenv: add support for JUnit tests in gnumake
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: GNU make (show other issues)
Version: current
Hardware: All All
: P3 Normal (vote)
Target Milestone: 3.4.1
Assignee: bjoern.michaelsen
QA Contact: issues@tools
URL:
Keywords:
Depends on: 116392
Blocks:
  Show dependency tree
 
Reported: 2011-02-24 14:44 UTC by hans_werner67
Modified: 2017-05-20 10:31 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bjoern.michaelsen 2011-01-10 13:33:22 UTC
add support for JUnit tests in gnumake
Comment 1 bjoern.michaelsen 2011-01-10 15:44:24 UTC
accepting (status -> STARTED)
added to cws gnumake3
Comment 2 bjoern.michaelsen 2011-02-02 09:30:48 UTC
still unfixed as gb_JunitTest_add_jar should depend the JavaClassSet on the jar
that is used, and not only the JunitTest. The jar has to be available at compile
time and runtime and not only at runtime.
Comment 3 mst.ooo 2011-02-02 13:53:19 UTC
seen working in CWS gnumake3

i've removed all the dmakefiles for complex/unoapi tests
that were re-introduced in DEV300m98.
Comment 4 mst.ooo 2011-02-02 13:54:02 UTC
.
Comment 5 mst.ooo 2011-02-04 15:03:00 UTC
meh, didn't know that these are platform dependent....

initially worked only on linux/solaris, now i've fixed it on OSX as well:
http://hg.services.openoffice.org/hg/cws/gnumake3/rev/6dc33e2bc5bf

but windows doesn't work yet:
the old installationtest.mk seems to unpack the archive instset once for each module
instead of just reusing the smoketestoo_native installation.

i have no idea why that is so, so i'll leave it for now.
Comment 6 Stephan Bergmann 2011-02-07 10:29:19 UTC
@mst:  "i have no idea why that is so, so i'll leave it for now."  See
<http://wiki.services.openoffice.org/w/index.php?title=Test_Cleanup&oldid=193022#Helpers>:
"[B]uilding smoketestoo_native permanently installs that archive into the
solver. (Except on Windows, where problems with resulting long pathnames prevent
this; there, as a workaround, each test individually unzips the archive to some
local temporary directory.)"
Comment 7 mst.ooo 2011-02-07 15:40:05 UTC
some more work on this:

support for $OOO_TEST_SOFFICE:
http://hg.services.openoffice.org/hg/cws/gnumake3/rev/2308c3cb6d52
bizarre hacks to make it work on windows:
http://hg.services.openoffice.org/hg/cws/gnumake3/rev/a8bb386847ef
Comment 8 Oliver-Rainer Wittmann 2012-06-13 12:22:06 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.