Revision: 2774 http://trac.macosforge.org/projects/ruby/changeset/2774 Author: mattaimonetti@gmail.com Date: 2009-10-09 13:39:16 -0700 (Fri, 09 Oct 2009) Log Message: ----------- switched the library specs to use a black list instead of a white list. Modified Paths: -------------- MacRuby/trunk/spec/frozen/tags/macruby/library/conditionvariable/broadcast_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/to_yaml_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/deflate/params_tags.txt MacRuby/trunk/spec/macruby.mspec Added Paths: ----------- MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/dump_stream_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/each_document_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/parse_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/tagged_classes_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/tagurize_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/close_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/comment_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/orig_name_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/eof_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/pos_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/read_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/rewind_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipwriter/mtime_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/append_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/zstream/ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/zstream/flush_next_out_tags.txt Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/conditionvariable/broadcast_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/conditionvariable/broadcast_tags.txt 2009-10-09 19:24:13 UTC (rev 2773) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/conditionvariable/broadcast_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -1,2 +1,3 @@ fails:ConditionVariable#broadcast should return self if nothing to broadcast to fails:ConditionVariable#broadcast should return self if something is waiting for a broadcast +fails:ConditionVariable#broadcast releases all threads waiting in line for this resource Added: MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/dump_stream_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/dump_stream_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/dump_stream_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1 @@ +fails:YAML.dump_stream returns a YAML stream containing the objects passed Added: MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/each_document_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/each_document_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/each_document_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1,2 @@ +fails:YAML#each_document calls the block on each succesive document +fails:YAML#each_document works on files Added: MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/parse_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/parse_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/parse_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1,2 @@ +fails:YAML#parse with an empty string returns false +fails:YAML#parse returns the value from the object Added: MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/tagged_classes_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/tagged_classes_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/tagged_classes_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1 @@ +fails:YAML.tagged_classes returns a complete dictionary of taguris paired with classes Added: MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/tagurize_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/tagurize_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/tagurize_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1 @@ +fails:YAML.tagurize converts a type_id to a taguri Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/to_yaml_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/to_yaml_tags.txt 2009-10-09 19:24:13 UTC (rev 2773) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/yaml/to_yaml_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -1 +1,7 @@ fails:Object#to_yaml returns the YAML representation of a Struct object +fails:Object#to_yaml returns the YAML representation of an Array object +fails:Object#to_yaml returns the YAML representation of a Date object +fails:Object#to_yaml returns the YAML represenation of a RegExp object +fails:Object#to_yaml returns the YAML representation of a Time object +fails:Object#to_yaml returns the YAML representation of a Error object +fails:Object#to_yaml returns the YAML representation for Range objects Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/deflate/params_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/deflate/params_tags.txt 2009-10-09 19:24:13 UTC (rev 2773) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/deflate/params_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -1 +1 @@ -fails:Zlib::Deflate#params changes the deflate parameters +critical:Zlib::Deflate#params changes the deflate parameters \ No newline at end of file Added: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/close_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/close_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/close_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1 @@ +critical:Zlib::GzipFile#close finishes the stream and closes the io Added: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/comment_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/comment_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/comment_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1 @@ +critical:Zlib::GzipFile#comment returns the name \ No newline at end of file Added: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/orig_name_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/orig_name_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipfile/orig_name_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1 @@ +critical:Zlib::GzipFile#orig_name returns the name \ No newline at end of file Added: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/eof_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/eof_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/eof_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1 @@ +fails:GzipReader#eof? returns true when at EOF Added: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/pos_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/pos_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/pos_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1 @@ +fails:GzipReader#pos returns the position Added: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/read_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/read_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/read_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1,2 @@ +fails:GzipReader#read reads the contents of a gzip file +fails:GzipReader#read reads the contents up to a certain size Added: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/rewind_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/rewind_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipreader/rewind_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1,2 @@ +fails:GzipReader#rewind resets the position of the file pointer +fails:GzipReader#rewind invokes seek method on the associated IO object Added: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipwriter/mtime_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipwriter/mtime_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/gzipwriter/mtime_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1 @@ +fails:Zlib::GzipWriter#mtime= sets mtime using Time Added: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/append_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/append_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/inflate/append_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1 @@ +critical:Zlib::Inflate#<< appends data to the input stream \ No newline at end of file Added: MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/zstream/flush_next_out_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/zstream/flush_next_out_tags.txt (rev 0) +++ MacRuby/trunk/spec/frozen/tags/macruby/library/zlib/zstream/flush_next_out_tags.txt 2009-10-09 20:39:16 UTC (rev 2774) @@ -0,0 +1 @@ +critical:Zlib::ZStream#flush_next_out flushes the stream and flushes the output buffer \ No newline at end of file Modified: MacRuby/trunk/spec/macruby.mspec =================================================================== --- MacRuby/trunk/spec/macruby.mspec 2009-10-09 19:24:13 UTC (rev 2773) +++ MacRuby/trunk/spec/macruby.mspec 2009-10-09 20:39:16 UTC (rev 2774) @@ -19,79 +19,26 @@ # Library specs set :library, [ - 'library/abbrev', - 'library/base64', - 'library/cgi', - 'library/complex', - 'library/conditionalvariable', - 'library/csv', - 'library/date', - 'library/digest', - 'library/drb', - 'library/enumerator', - 'library/etc', - 'library/ftools', - 'library/generator', - 'library/getoptlong', - 'library/ipaddr', - 'library/logger', - 'library/logger/application', - 'library/logger/device', - 'library/logger/logger', - 'library/mathn', - 'library/matrix', - 'library/mutex', - 'library/net', - 'library/net/telnet', - 'library/observer', - 'library/openstruct', - 'library/parsedate', - 'library/pathname', - 'library/ping', - 'library/rational', - 'library/queue', - 'library/readline', - 'library/resolv', - 'library/rexml', - 'library/scanf', - 'library/securerandom', - 'library/shellwords', - 'library/singleton', - 'library/socket', - 'library/stringio', - 'library/stringscanner', - 'library/tempfile', - 'library/time', - 'library/timeout', - 'library/tmpdir', - 'library/uri', - 'library/yaml/dump_spec.rb', - 'library/yaml/load_documents_spec.rb', - 'library/yaml/load_file.spec', - 'library/yaml/load_spec.rb', - 'library/yaml/tag_class_spec.rb', + 'library', # Currently not working on MacRuby + '^library/bigdecimal', '^library/erb', '^library/iconv', '^library/generator', '^library/openssl', '^library/net/http', # due to '/fixtures/http_server' loaded in net/http/http/active_spec.rb (webrick) '^library/net/ftp', # exists the specs when running using rake spec:library and reaching net/ftp/chdir_spec.rb - '^library/prime', # hangs probably because of timeout '^library/set', # sortedset is segfaulting - '^library/syslog', - - -=begin + '^library/syslog', # disabled the zlib specs for now because of a random GC crash # that seems to occur in gzipfile/closed_spec.rb - 'library/zlib/adler32_spec.rb', - 'library/zlib/crc32_spec.rb', - 'library/zlib/crc_table_spec.rb', - 'library/zlib/deflate' -=end + '^library/zlib/adler32_spec.rb', + '^library/zlib/crc32_spec.rb', + '^library/zlib/crc_table_spec.rb', + '^library/zlib/deflate', + '^library/zlib/inflate' ] # Prepend the paths with the proper prefix