Revert "Revert "Automatically register repo tests.""

This reverts commit c7db3df448f5cb580dc242e1114d904fbbb52722.

Change-Id: I596f91ddc78323cc56756bc4124251d4f0ffe6ed
Merge "Revert "Revert "Automatically register repo tests."""