def METHOD_NAME(self):
    pkg_dir, dist = self.create_dist()
    cmd = build_clib(dist)
    # "in 'libraries' option 'sources' must be present and must be
    # a list of source filenames
    cmd.libraries = [('name', {})]
    self.assertRaises(DistutilsSetupError, cmd.get_source_files)
    cmd.libraries = [('name', {'sources': 1})]
    self.assertRaises(DistutilsSetupError, cmd.get_source_files)
    cmd.libraries = [('name', {'sources': ['a', 'b']})]
    self.assertEqual(cmd.get_source_files(), ['a', 'b'])
    cmd.libraries = [('name', {'sources': ('a', 'b')})]
    self.assertEqual(cmd.get_source_files(), ['a', 'b'])
    cmd.libraries = [('name', {'sources': ('a', 'b')}),
                     ('name2', {'sources': ['c', 'd']})]
    self.assertEqual(cmd.get_source_files(), ['a', 'b', 'c', 'd'])