def convert_meetings_to_ical(meetings, outputdir=None, outputfile=None,
                             calname=None, caldescription=None):

    # convert meetings to a list of ical
    if outputdir:
        for m in meetings:
            cal = Yaml2IcalCalendar()
            cal.add_meeting(m)
            cal.write_to_disk(os.path.join(outputdir, m.outfile))

    # convert meetings into a single ical
    if outputfile:
        cal = Yaml2IcalCalendar(calname, caldescription)
        for m in meetings:
            cal.add_meeting(m)
        cal.write_to_disk(outputfile)

    # TODO(jotan): verify converted ical is valid
    logging.info('Wrote %d meetings to iCal' % (len(meetings)))
When result.shouldStop == True, the suite should exit early.
dataset/ETHPy150Open openstack-infra/yaml2ical/yaml2ical/ical.py/convert_meetings_to_ical--crossover with--dataset/ETHPy150Open CleanCut/green/green/test/test_suite.py/TestGreenTestSuite.test_shouldStop