Verified Commit 81e6e186 authored by nagayama15's avatar nagayama15

add checking script

parent 9449bcd4
#!/usr/bin/env ruby
require_relative './common'
watermark = WATERMARK
METHODS.each do |method|
WASM_BINARIES.each do |id, file|
dir = Pathname(OUTPUT_DIRS[id])
a = dir + Pathname(file).basename.sub(".wasm", "-#{method[:abbr]}-#{watermark}.wasm")
OPT_PASSES.each do |pass|
b = a.sub(".wasm", "-#{pass}.wasm")
puts "#{a.basename} - #{b.basename}: #{method[:name]}, #{pass}, #{FileUtils.cmp(a, b)}"
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment