make sure tests flush output

This commit is contained in:
Bill Hoffman 2004-07-16 15:18:42 -04:00
parent 07dae7bba4
commit ff7757e34c
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ int main(int ac, char *av[])
printf("%3d. %s\n", i, cmakeGeneratedFunctionMapEntries[i].name); printf("%3d. %s\n", i, cmakeGeneratedFunctionMapEntries[i].name);
} }
printf("To run a test, enter the test number: "); printf("To run a test, enter the test number: ");
fflush(stdout);
testNum = 0; testNum = 0;
scanf("%d", &testNum); scanf("%d", &testNum);
if (testNum >= NumTests) if (testNum >= NumTests)