use add_test instead of add_custom_command. Test cases can now be started with "make test"