test/check.rb
# compile command is simple: must return no output
# and no error.
compile command is simple: must return no output
and no error.
compile command is simple : must return no output and no error .
def do_compile_command(name, file)
  output, result = compile_file(name)
  output = clean_debug(output)
  if (output != "" || result != 0)
    puts "----------------------------------------------------------------------"
    puts "BUG: %s failed to compile" % name
    puts "----------------------------------------------------------------------"
    puts output
    puts "----------------------------------------------------------------------"
    exit 1
  end
end
def do_compile_command ( name , file ) output , result = compile_file ( name ) output = clean_debug ( output ) if ( output != "" || result != 0 ) puts "----------------------------------------------------------------------" puts "BUG: %s failed to compile" % name puts "----------------------------------------------------------------------" puts output puts "----------------------------------------------------------------------" exit 1 end end
compile command is simple: must return no output
and no error.
compile command is simple : must return no output and no error .
name
<not_specific>
file
<not_specific>