We are testing the error/exception handler in common.test currently. Explicitly referencing line numbers in system_test.module. If any lines above the expected line number are changed, the error handler test fails.

Let's make it pass more often.

This is critical, because it breaks #345118: Performance: Split .module files by moving hooks.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sun’s picture

FileSize
14.59 KB
sun’s picture

I need help here, because I have no clue why the tests are failing.

Status: Needs review » Needs work

The last submitted patch failed testing.

mr.baileys’s picture

Status: Needs work » Needs review
FileSize
14.48 KB

Looks like callback & function names mismatched in error_test.module, and the module was returning "page not found" instead of actual error information.

re-rolled with matching callback/function names

Damien Tournoud’s picture

Dear testbot, please mark as RTBC if the patch comes back clean.

Status: Needs review » Needs work

The last submitted patch failed testing.

mr.baileys’s picture

Status: Needs work » Needs review
FileSize
15.92 KB

Some additional mismatched names in assertions & paths (system_test_* instead of error_test_*), which I missed because I only ran the system tests, not the simpletest tests.

re-rolled.

sun’s picture

Status: Needs review » Reviewed & tested by the community

Yay! Awesome! Thank you, mr.baileys!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Cool. Committed to HEAD!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.