Commit fbcff4b5 by Hampton Catlin

Check results against sass command.

parent 15a0bafd
......@@ -14,7 +14,11 @@ Dir[File.join(searchpath + "***/input.*")].each do |input_file|
cmd = "./bin/sassc #{input_file}"
#puts cmd
output = `#{cmd}`
sass_output = `sass #{input_file}`
expected_output = File.read(File.join(spec_dir, "output.css"))
if expected_output.strip != sass_output.strip
puts "Problem with Ruby compat in #{input_file}"
end
if output.strip != expected_output.strip
print "F"
messages << "Failed test #{spec_dir}"
......
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