1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Bug 535903 - buildMesonProject test is unstable

- fix previous fix to refresh the lines after each second
  of waiting for build to finish

Change-Id: Ieb6e5d7885603c0e160ffe8bc19f4a30646620ab
This commit is contained in:
Jeff Johnston 2018-10-03 17:35:01 -04:00
parent 0b73bea05a
commit ceb44294ad
3 changed files with 6 additions and 0 deletions

View file

@ -192,6 +192,8 @@ public class NewManualNinjaTest {
int i = 0;
while (i < 10 && !lines[lines.length-1].startsWith("Build complete")) {
output = console.bot().styledText().getText();
lines = output.split("\\r?\\n"); //$NON-NLS-1$
bot.sleep(1000);
++i;
}

View file

@ -247,6 +247,8 @@ public class NewMesonConfigureTest {
int i = 0;
while (i < 10 && !lines[lines.length-1].startsWith("Build complete")) {
String output = console.bot().styledText().getText();
lines = output.split("\\r?\\n"); //$NON-NLS-1$
bot.sleep(1000);
++i;
}

View file

@ -187,6 +187,8 @@ public class NewMesonProjectTest {
int i = 0;
while (i < 10 && !lines[lines.length-1].startsWith("Build complete")) {
output = console.bot().styledText().getText();
lines = output.split("\\r?\\n"); //$NON-NLS-1$
bot.sleep(1000);
++i;
}