make test runner compatible with -depend option