From: Michael Orlitzky Date: Mon, 25 Mar 2013 21:38:08 +0000 (-0400) Subject: Fix loop count parsing. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=commitdiff_plain;h=0c265577029ccdc5a232de637a557c304d1ace71;hp=1a6f56b0dd6750649725b2fd07edb3fe0850a886 Fix loop count parsing. --- diff --git a/run-tests.m b/run-tests.m index 001e740..9d0e7fa 100755 --- a/run-tests.m +++ b/run-tests.m @@ -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.