test: add simple progress indicator.

This commit is contained in:
Leo Yuriev
2017-05-24 02:16:25 +03:00
parent 06de7a5155
commit a6c8c1ad08
8 changed files with 47 additions and 1 deletions

View File

@@ -303,3 +303,5 @@ void osal_udelay(unsigned us) {
now = chrono::now_motonic();
} while (now.fixedpoint < until.fixedpoint);
}
bool osal_istty(int fd) { return _isatty(fd) != 0; }