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

PHPunit cygwin dectection failing for me

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.1, 2.4
    • 2.3.2
    • Unit tests
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_23_STABLE
    • Hide

      You need to be on Windows to test this.

      1. edit version.php and increase the version number by 1.
      2. in a cygwin or msysgit bash terminal, type phpunit. Make sure the error tells you to run php admin/tool/phpunit/cli/init.php (with forward slashes)
      3. in a standard windows command prompt, type phpunit. Make sure the error tells you to run php admin\tool\phpunit\cli\init.php (with backslashes)
      Show
      You need to be on Windows to test this. edit version.php and increase the version number by 1. in a cygwin or msysgit bash terminal, type phpunit. Make sure the error tells you to run php admin/tool/phpunit/cli/init.php (with forward slashes) in a standard windows command prompt, type phpunit. Make sure the error tells you to run php admin\tool\phpunit\cli\init.php (with backslashes)

    Description

      The cygwin detection implemented in MDL-34147 is failing for me. I don't know why, but I plan to investigate.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Michael de Raadt Michael de Raadt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/12