'Outer wrapper for running tests
Args:
args: [dict entry] The name and spec tuple from the mapped element.'

def __run_or_skip_test_profile_entry_wrapper(self, args):

    test_name = args[0]
    spec = args[1]
    try:
        self.__run_or_skip_test_profile_entry(test_name, spec)
    except Exception as ex:
        logging.error('%s    threw    an    exception:\n%s', test_name, traceback.format_exc())
        with self.__lock:
            self.__failed.append((test_name, 'Caught    exception    {0}'.format(ex)))
