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

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

    XMLWordPrintable

    Details

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

      Description

      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.".

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: