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:
parent
90e95ab4eb
commit
bb461328b9
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue