From ff7757e34c462ec8e6749e88cde043c1ebe45bfa Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 16 Jul 2004 15:18:42 -0400 Subject: make sure tests flush output --- Templates/TestDriver.cxx.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in index 21ab970..41fccae 100644 --- a/Templates/TestDriver.cxx.in +++ b/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) -- cgit v0.12