Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-58794

Problem with phpunit and 32 bits

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.3
    • 3.3
    • Unit tests
    • MOODLE_33_STABLE
    • MOODLE_33_STABLE
    • MDL-58794-master
    • Hide

      Use 64bits for running tests :-P
      (joking, it's a need to have at least 1 32 bits run!!)

      Show
      Use 64bits for running tests :-P (joking, it's a need to have at least 1 32 bits run!!)
    • Hide
      PHPUnit
      1. Run PHPUnit for the core_course_externallib_testcase on Windows 32-bit with PHP5.6 and PHP7.

        vendor/bin/phpunit -c course core_course_externallib_testcase course/tests/externallib_test.php
        

        • Confirm everything passes.
      Show
      PHPUnit Run PHPUnit for the core_course_externallib_testcase on Windows 32-bit with PHP5.6 and PHP7. vendor/bin/phpunit -c course core_course_externallib_testcase course/tests/externallib_test.php Confirm everything passes.

    Description

      Initially I thought this was because of my old mssql driver... (freetds 0.95)

      https://pastebin.com/tWWyrAWV

      But I've been able to reproduce the same with postgres:

      https://pastebin.com/A0DpGYec

      So, this needs to be investigated. Before release.

      Would be great to confirm if it's restricted to windows, to php 5.6... if it's only me... and then look for a fix.

      Attachments

        Issue Links

          Activity

            People

              jpataleta Jun Pataleta
              stronk7 Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Dan Poltawski Dan Poltawski
              John Okely John Okely
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/May/17