Loads all the files for testing error and warning messages (which
must be under the BasePath directory) and runs all their tests
using run_error_test_files/6 and run_warning_test_files/5.
The total number of tests passed and failed will be returned in
Passed and Failed, respectively.