Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-396

Tests do not pass with Clang (LLVM based) compiled rubies

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.6.0
    • Affects Version/s: 1.5.2
    • Component/s: None
    • Labels:
    • Environment:
      Mac OS X 10.7 (Lion)
    • Fully Compatible

      If your version of ruby is compiled via an LLVM compiler then testing the bson extension fails:

      rake test:c TEST=test/bson/bson_test.rb

      1) Failure: test_exeption_on_using_unsupported_date_class(BSONTest) [/Users/tbrock/Development/mongodb/mongo-ruby-driver/test/bson/bson_test.rb:305]: Expected /UTC Time/ to match "Cannot serialize an object of class DateTime into BSON.".

            Assignee:
            tyler@10gen.com Tyler Brock
            Reporter:
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: