Lines Matching refs:optval
331 def RGTestOptions.parse(optname, optval)
349 optval.gsub!(/\[%- testpgm\.basename -%\]/x, File.basename($testpgm))
350 optval.gsub!(/\[%- script\.pathname -%\]/x, $scriptfile)
355 if optval =~ /^\d+$/
356 $testdata.cmdvalue = optval.to_i
361 if optval =~ /^\s*([A-Za-z]\w*)\s*$/
367 $testdata.shebang_args = optval
369 $testdata.add_script(optval)
371 if optval =~ /^\s*([A-Za-z]\w*)=(.*)$/
377 $testdata.add_expecterr(optval)
379 $testdata.add_expectout(optval)
381 if optval =~ /^\s*(\S+)\s+(\S+)\s*$/
399 $testdata.user_args = optval
408 optname, optval