IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2019, 10:28:14 AM (7 years ago)
Author:
eugene
Message:

adding tests for mem leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20190329/src/opihi/cmd.data/test/cut.sh

    r16056 r40772  
    3737 end
    3838end
     39
     40macro memtest1
     41
     42 $i = 0
     43 mcreate tim 100 100
     44 cut tim xdir imx X 40 4 60 6
     45 # do one to set up memory that should stay used
     46
     47 memory check
     48 for i 0 100
     49   cut tim xdir imx X 40 4 60 6
     50 end
     51 memory check
     52   
     53 for i 0 100
     54   cut tim xdir imx y 40 4 60 6
     55 end
     56 memory check
     57   
     58 for i 0 100
     59   cut -median tim xdir imx X 40 4 60 6
     60 end
     61 memory check
     62   
     63 for i 0 100
     64   cut -median tim xdir imx y 40 4 60 6
     65 end
     66 memory check
     67   
     68 for i 0 100
     69   cut -mean tim xdir imx X 40 4 60 6
     70 end
     71 memory check
     72   
     73 for i 0 100
     74   cut -mean tim xdir imx y 40 4 60 6
     75 end
     76 memory check
     77   
     78end
Note: See TracChangeset for help on using the changeset viewer.