Greg Clayton
414dba5799
Added the ability to register key callbacks for much easier key handling. Also added the elapsed time display to the status bar.
...
llvm-svn: 248450
2015-09-24 00:19:42 +00:00
Greg Clayton
d13c4fb7f2
Allow TAB key to switch first responder when tests are running or completed.
...
Typing the shortcut key ('.' for 'pass', 'e' for 'error', etc) will toggle the visibility of the test in the Results window.
llvm-svn: 248290
2015-09-22 17:18:15 +00:00
Greg Clayton
87349248d4
Split the curses stuff out into a separate file so that we can import curses and lldbcurses at the module level.
...
Added key press handling and a first responder system and the ability for windows that can be first responders to be selected and have key presses routed to the first resonder, delegates and also travel up the parent chain.
Remove the temp file that was being created.
llvm-svn: 248232
2015-09-22 00:35:20 +00:00
Greg Clayton
1827fc25ab
Added a curses based way to see the test suite running. Works only where curses is implemented. Try it out with:
...
./dotest.py --results-formatter=test_results.Curses --results-file=/dev/stdout
llvm-svn: 248072
2015-09-19 00:39:09 +00:00