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:
parent
0b73bea05a
commit
ceb44294ad
3 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue