Lines Matching refs:File
78 "testcase/#{File.basename(test)}"
86 c = File.read(test_filename)
87 name = File.basename(test_filename)
169 c = File.read(mk)
195 File.open("Makefile", 'w') do |ofile|
198 File.symlink('../../testcase/submake', 'submake')
248 if via_ninja && File.exist?('build.ninja') && File.exists?('ninja.sh')
263 File.open('out.make', 'w'){|ofile|ofile.print(expected)}
264 File.open('out.kati', 'w'){|ofile|ofile.print(output)}
297 if !File.exist?("#{json}.json") || !File.exist?("#{json}_2.json")
301 json1 = File.read("#{json}.json")
302 json2 = File.read("#{json}_2.json")
349 File.open('out.make', 'w'){|ofile|ofile.print(expected)}
350 File.open('out.kati', 'w'){|ofile|ofile.print(output)}