]> gitweb.michael.orlitzky.com - octave.git/commitdiff
Fix loop count parsing.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 25 Mar 2013 21:38:08 +0000 (17:38 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 25 Mar 2013 21:38:08 +0000 (17:38 -0400)
run-tests.m

index 001e7409d00004d7cdc85a2e676cb29c9aa8e2f8..9d0e7fa03ba48af8a5d619e4553e8f15077684b6 100755 (executable)
@@ -17,7 +17,7 @@ test_files = glob('tests/*.m');
 loop_count = 1;
 arg_list = argv();
 if (length(arg_list) > 0)
-  loop_count = arg_list{1};
+  loop_count = str2num(arg_list{1});
 end
 
 ## Source every file that matches the glob above.