Bill Hoffman 21 лет назад
Родитель
Сommit
ff7757e34c
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Templates/TestDriver.cxx.in

+ 1 - 0
Templates/TestDriver.cxx.in

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