Changeset 41341 for trunk/Ohana/src/opihi/cmd.basic/test/macro.sh
- Timestamp:
- Apr 16, 2020, 2:04:27 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.basic/test/macro.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.basic/test/macro.sh
r41340 r41341 7 7 # Is the macro working? 8 8 macro test_prep 9 $test_var1 = check1 10 $test_var2 = check2 11 $var_count = $0 12 end 13 14 # Is the macro working? 15 macro test_local 16 local test_var test_var2 var_count 17 9 18 $test_var1 = check1 10 19 $test_var2 = check2 … … 47 56 end 48 57 end 58 59 # Memory Test for macro 60 macro memtest2 61 62 $i = 0 63 test_prep 64 65 memory check 66 for i 0 10000 67 test_prep 68 end 69 memory check 70 71 end 72 73 # Memory Test for macro 74 macro memtest3 75 76 $i = 0 77 test_local 78 79 memory check 80 for i 0 10000 81 test_local 82 end 83 memory check 84 85 end
Note:
See TracChangeset
for help on using the changeset viewer.
