summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-07-16 19:18:42 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-07-16 19:18:42 (GMT)
commitff7757e34c462ec8e6749e88cde043c1ebe45bfa (patch)
tree44be8c4c58ff8d162ed9a870bfa46ed2027dfecb /Templates
parent07dae7bba4c611fdfe6c03bc3206ed0b6b26f127 (diff)
downloadCMake-ff7757e34c462ec8e6749e88cde043c1ebe45bfa.zip
CMake-ff7757e34c462ec8e6749e88cde043c1ebe45bfa.tar.gz
CMake-ff7757e34c462ec8e6749e88cde043c1ebe45bfa.tar.bz2
make sure tests flush output
Diffstat (limited to 'Templates')
-rw-r--r--Templates/TestDriver.cxx.in1
1 files changed, 1 insertions, 0 deletions
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)