Merge "Fix Rake tests for newer Ruby"

This commit is contained in:
Jenkins
2016-06-09 13:05:25 +00:00
committed by Gerrit Code Review

View File

@@ -44,6 +44,7 @@ task :lua_tests => [:lua_libraries, :lib_cbuf] do |t|
LUA_TESTS.each do |f|
sh "lua5.1", f
end
Rake::Task[:remove_cbuf_library].invoke
end
# Need to pull date_time.lua from the lua_sandbox repository because some tests
@@ -122,7 +123,3 @@ task :remove_cbuf_library do |t|
sh 'rm -f ./circular_buffer.so'
end
end
Kernel.trap("EXIT") do
Rake::Task[:remove_cbuf_library].invoke
end