fixed the test runner, which still assumed dynamic scope
So that was the thing that broke proper error handling in the test runner: a test fail file triggered a (real) error in the test runner, because the variable test-file, assumed to contain the name of the file under test, was undefined. Fixed by making that a global defvar'ed variable, which then can be accessed -- through the lexical environment, yay! -- by the testcmp function.
Showing with 7 additions and 6 deletions