diff --git a/avocado/core/loader.py b/avocado/core/loader.py index cd78f58ea6b22d81b4b9877411dcf618095039c1..bab74b98fe5de6ac9479f587f97c80538fa05f49 100644 --- a/avocado/core/loader.py +++ b/avocado/core/loader.py @@ -809,6 +809,8 @@ class FileLoader(TestLoader): return self._make_avocado_tests(test_path, make_broken, subtests_filter, test_name) + return make_broken(NotATest, test_name, "File not found " + "('%s'; '%s')" % (test_name, test_path)) return make_broken(NotATest, test_name, self.__not_test_str)