Skip to content

Commit

Permalink
[Truffle] Add logger to stdlib.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjfish committed Apr 29, 2015
1 parent 804986d commit cca7c7e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/ruby/truffle/mri/logger.rb
@@ -0,0 +1 @@
require_relative '../../stdlib/logger'
1 change: 1 addition & 0 deletions spec/truffle/tags/library/logger/device/close_tags.txt
@@ -0,0 +1 @@
fails:Logger::LogDevice#close closes the LogDevice's stream
1 change: 1 addition & 0 deletions spec/truffle/tags/library/logger/device/new_tags.txt
@@ -0,0 +1 @@
fails:Logger::LogDevice#new creates a File if the IO object does not exist
2 changes: 2 additions & 0 deletions spec/truffle/tags/library/logger/device/write_tags.txt
@@ -0,0 +1,2 @@
fails:Logger::LogDevice#write can create a file and writes empty message
fails:Logger::LogDevice#write fails if the device is already closed
2 changes: 2 additions & 0 deletions spec/truffle/tags/library/logger/logger/new_tags.txt
@@ -0,0 +1,2 @@
fails:Logger#new creates a new logger object
fails:Logger#new receivs a maximum logfile size as third argument
2 changes: 1 addition & 1 deletion spec/truffle/truffle.mspec
Expand Up @@ -90,6 +90,7 @@ class MSpecScript
"spec/ruby/library/erb",
"spec/ruby/library/getoptlong",
"spec/ruby/library/matrix",
"spec/ruby/library/logger",
"spec/ruby/library/observer",
"spec/ruby/library/open3",
"spec/ruby/library/openstruct",
Expand Down Expand Up @@ -117,7 +118,6 @@ class MSpecScript
"^spec/ruby/library/expect",
"^spec/ruby/library/fiber",
"^spec/ruby/library/ipaddr",
"^spec/ruby/library/logger",
"^spec/ruby/library/mathn",
"^spec/ruby/library/net",
"^spec/ruby/library/openssl",
Expand Down

0 comments on commit cca7c7e

Please sign in to comment.