1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Ignore autotools UI tests if automake is not installed

Change-Id: Ic00d77fffbcd471f08b29a1b78d7da23b32a1dcc
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Marc Khouzam 2014-11-04 08:52:48 -05:00
parent 90e95ab4eb
commit bb461328b9

View file

@ -31,9 +31,11 @@ public class AllTests {
// needed for this class to compile
@BeforeClass
public static void beforeClassMethod() {
// Verify that the necessary binaries are available, and if it is not,
// Verify that the necessary binaries are available, and if they are not,
// the tests will be ignored.
String[] testBinaryCommands = { "libtool --version", "autoconf --version" };
String[] testBinaryCommands = { "libtool --version",
"autoconf --version",
"automake --version" };
try {
for (String cmd : testBinaryCommands) {
Process process = ProcessFactory.getFactory().exec(cmd);