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

Debugging output in the middle of phpunit (windows) test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 3.9
    • Fix Version/s: None
    • Component/s: Themes, Unit tests
    • Labels:
      None
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      Was running tests under windows when, apart from a couple of problems that are already reported, this debugging was shown in the middle of the process (and not detected as a problem):

      Debugging: Error while compiling SCSS: Coding error detected, it must be fixed by a programmer: Error: File to import not found or unreadable: fontawesome.
              on line 90 of stdin
      >> @import "fontawesome";
       
         ^
       
      * line 1458 of \lib\outputlib.php: call to debugging()
      * line 1212 of \lib\outputlib.php: call to theme_config->get_css_content_from_scss()
      * line 49 of \theme\classic\tests\scss_test.php: call to theme_config->get_css_content_debug()
      * line 1154 of \vendor\phpunit\phpunit\src\Framework\TestCase.php: call to theme_classic_scss_testcase->test_scss_compilation_with_sassc()
      * line 842 of \vendor\phpunit\phpunit\src\Framework\TestCase.php: call to PHPUnit\Framework\TestCase->runTest()
      * line 80 of \lib\phpunit\classes\advanced_testcase.php: call to PHPUnit\Framework\TestCase->runBare()
      * line 693 of \vendor\phpunit\phpunit\src\Framework\TestResult.php: call to advanced_testcase->runBare()
      * line 796 of \vendor\phpunit\phpunit\src\Framework\TestCase.php: call to PHPUnit\Framework\TestResult->run()
      * line 746 of \vendor\phpunit\phpunit\src\Framework\TestSuite.php: call to PHPUnit\Framework\TestCase->run()
      * line 746 of \vendor\phpunit\phpunit\src\Framework\TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
      * line 746 of \vendor\phpunit\phpunit\src\Framework\TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
      * line 652 of \vendor\phpunit\phpunit\src\TextUI\TestRunner.php: call to PHPUnit\Framework\TestSuite->run()
      * line 206 of \vendor\phpunit\phpunit\src\TextUI\Command.php: call to PHPUnit\TextUI\TestRunner->doRun()
      * line 162 of \vendor\phpunit\phpunit\src\TextUI\Command.php: call to PHPUnit\TextUI\Command->run()
      * line 61 of \vendor\phpunit\phpunit\phpunit: call to PHPUnit\TextUI\Command::main()
      

      Link to complete run: https://pastebin.com/RyjV5ps4

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            stronk7 Eloy Lafuente (stronk7)
            Participants:
            Component watchers:
            Bas Brands, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: