Page MenuHomePhabricator

Make test_runner.py throw an error if test with parameter does not exist
ClosedPublic

Authored by Fabien on Wed, Jan 30, 09:44.

Details

Summary

This will warn the user breaking the test_runner.py script if a file
deletion or renaming occurs.

Test Plan

Run test_runner.py on any script, check there is no error
Modify the test_runner.py script to include a typo in any file name from
the TEST_PARAMS array, run it and check the error is detected.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Wed, Jan 30, 09:44
Herald added a reviewer: Restricted Project. · View Herald TranscriptWed, Jan 30, 09:44
Herald added a subscriber: schancel. · View Herald Transcript
deadalnix accepted this revision.Wed, Jan 30, 13:35
This revision is now accepted and ready to land.Wed, Jan 30, 13:35
This revision was automatically updated to reflect the committed changes.