Fix compiler accidentally being passed twice.

Don't know how this slipped through...

Change-Id: I5a3bba06bea4f4016e4ac30a700666b2cf2b3556
This commit is contained in:
Dan Albert
2014-07-28 15:41:06 -07:00
parent 0598fd4f2b
commit 51aa0862f9

View File

@@ -92,7 +92,7 @@ class LibcxxTestFormat(lit.formats.FileBasedTest):
return self._evaluate_test(test, lit_config)
def _build(self, exec_path, source_path, compile_only=False):
cmd = [self.cxx_under_test, self.cxx_under_test, '-o', exec_path,
cmd = [self.cxx_under_test, '-o', exec_path,
source_path] + self.cpp_flags
if compile_only:
cmd += ['-c']