Fix compiler accidentally being passed twice.
Don't know how this slipped through... Change-Id: I5a3bba06bea4f4016e4ac30a700666b2cf2b3556
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user