def assertFlagsChanged(self, expected, flags):
     cmd = ['clang', '-c', 'source.c'] + flags
     opts = sut.classify_parameters(cmd)
     self.assertEqual(expected, opts['flags'])
Esempio n. 2
0
 def assertFlagsChanged(self, expected, flags):
     cmd = ['clang', '-c', 'source.c'] + flags
     opts = sut.classify_parameters(cmd)
     self.assertEqual(expected, opts['flags'])
 def test(flags):
     cmd = ['clang', '-c', 'source.c'] + flags
     opts = sut.classify_parameters(cmd)
     return opts['arch_list']
Esempio n. 4
0
 def test(flags):
     cmd = ['clang', '-c', 'source.c'] + flags
     opts = sut.classify_parameters(cmd)
     return opts['arch_list']