view tests/test-progress.out @ 10465:5d7e84e7ac6d stable

Add test for progress extension
author Patrick Mezard <pmezard@gmail.com>
date Sun, 14 Feb 2010 15:45:12 +0100
parents
children 83af68e38be3
line wrap: on
line source

% test default params, display nothing because of delay
% test with delay=0, refresh=0

loop [                                                                    ] 0/3
loop [=====================>                                              ] 1/3
loop [============================================>                       ] 2/3
                                                                                
% test refresh is taken in account
% test format options 1

0/2 loop lo
1/2 loop lo
                                                                                
% test format options 2

0/2 p.0 [                                                                     ]
1/2 p.1 [=================================>                                   ]
                                                                                
% test format options and indeterminate progress

0 loop.0               [ <=>                                                  ]
1 loop.1               [  <=>                                                 ]
                                                                                
% test immediate progress completion