Project

General

Profile

Actions

Feature #3422

closed

Only compile java tests if JUnit is present

Added by Anonymous over 11 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Hadoop/Java
Labels (FS):
Java/Hadoop
Pull request ID:

Description

We want to build the java tests as part of the Make process, so that it is delivered to users with the normal install (of the libcephfs-java package).
However, we do not want compilation to fail for a build with --enable-cephfs-java if JUnit is not present.
Therefore, we should tweak configure to look for JUnit and only build the test jar if JUnit is present.

Actions

Also available in: Atom PDF