mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
removed dependency on v8 in favor of bin/cs
This commit is contained in:
@@ -5,17 +5,11 @@ class ExecutionTest < Test::Unit::TestCase
|
||||
NO_WARNINGS = /\A(0 error\(s\), 0 warning\(s\)\n)+\Z/
|
||||
|
||||
def test_execution_of_coffeescript
|
||||
`bin/coffee-script test/fixtures/execution/*.cs`
|
||||
sources = Dir['test/fixtures/execution/*.js'].map {|f| File.expand_path(f) }
|
||||
starting_place = File.expand_path(Dir.pwd)
|
||||
Dir.chdir('/Users/jashkenas/Desktop/Beauty/Code/v8')
|
||||
sources.each do |source|
|
||||
suceeded = `./shell #{source}`.chomp.to_sym == :true
|
||||
Dir['test/fixtures/execution/*.cs'].each do |source|
|
||||
suceeded = `bin/cs #{source}`.chomp.to_sym == :true
|
||||
puts "failed: #{source}" unless suceeded
|
||||
assert suceeded
|
||||
end
|
||||
ensure
|
||||
Dir.chdir(starting_place)
|
||||
end
|
||||
|
||||
def test_lintless_coffeescript
|
||||
|
||||
Reference in New Issue
Block a user