Better would be to fix ProgressMeter and submit a pull request :-).

FWIW, on my 0.4 I get this:
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.0-dev+6066 (2015-07-18 03:34 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 57ea2b4* (4 days old master)
|__/                   |  x86_64-linux-gnu

julia> Pkg.test("ProgressMeter")
INFO: Testing ProgressMeter
Testing original interface...
Progress: 100% Time: 0:00:01
Testing desc and progress bar
Computing...100%|██████████████████████████████████████████████████| Time: 
0:00:01
Testing no desc and no progress bar
100% Time: 0:00:01
Testing tty width...
Computing (use tty width)...100%|███████████████████████| Time: 0:00:02
Testing no description...
100%|███████████████████████████████████████████████████| Time: 0:00:02
Testing that not even 1% required...
Test...  0%|                                            |  ETA: 2 days, 
10:56:45Testing changing the bar color
Computing...100%|██████████████████████████████████████████████████| Time: 
0:00:01
Testing @showprogress macro on for loop
Progress: 100% Time: 0:00:04
Testing @showprogress macro on comprehension
Calculating...100% Time: 0:00:01
Testing @showprogress macro on a for loop with inner loops containing continue 
and break statements
Progress: 100% Time: 0:00:08
Testing @showprogress macro on typed comprehension
Calculating...100% Time: 0:00:01
Testing under-shooting progress with finish!...
Progress: 100% Time: 0:00:01
Testing over-shooting progress with finish!...
Progress: 100% Time: 0:00:01
Testing @showprogress macro on dict comprehension
Calculating...100% Time: 0:00:10
Testing @showprogress macro on typed dict comprehension
Calculating...100% Time: 0:00:10
Testing @showprogress macro on loop ending with return statement

All tests complete
INFO: ProgressMeter tests passed


On Wednesday, July 22, 2015 04:36:38 AM Felipe Jiménez wrote:
> Btw, the ProgressMeter package is pretty much what I wanted, but it does
> not run on my Julia v.0.4 (only v.0.3), so I'll write my own function.

Reply via email to