forked from OSchip/llvm-project
parent
0d461693b6
commit
6e0fe6fbf5
|
@ -27,7 +27,7 @@ class TestCppChainedCalls(TestBase):
|
|||
self.assertTrue(src_file_spec.IsValid(), "Main source file")
|
||||
|
||||
# Get the path of the executable
|
||||
cwd = self.get_process_working_directory()
|
||||
cwd = os.getcwd()
|
||||
exe_file = "a.out"
|
||||
exe_path = os.path.join(cwd, exe_file)
|
||||
|
||||
|
@ -42,7 +42,7 @@ class TestCppChainedCalls(TestBase):
|
|||
# Launch the process
|
||||
args = None
|
||||
env = None
|
||||
process = target.LaunchSimple(args, env, cwd)
|
||||
process = target.LaunchSimple(args, env, self.get_process_working_directory())
|
||||
self.assertTrue(process.IsValid(), PROCESS_IS_VALID)
|
||||
|
||||
# Get the thread of the process
|
||||
|
|
|
@ -30,7 +30,7 @@ class TestCppGlobalOperators(TestBase):
|
|||
self.assertTrue(src_file_spec.IsValid(), "Main source file")
|
||||
|
||||
# Get the path of the executable
|
||||
cwd = self.get_process_working_directory()
|
||||
cwd = os.getcwd()
|
||||
exe_file = "a.out"
|
||||
exe_path = os.path.join(cwd, exe_file)
|
||||
|
||||
|
@ -45,7 +45,7 @@ class TestCppGlobalOperators(TestBase):
|
|||
# Launch the process
|
||||
args = None
|
||||
env = None
|
||||
process = target.LaunchSimple(args, env, cwd)
|
||||
process = target.LaunchSimple(args, env, self.get_process_working_directory())
|
||||
self.assertTrue(process.IsValid(), PROCESS_IS_VALID)
|
||||
|
||||
# Get the thread of the process
|
||||
|
|
|
@ -34,7 +34,7 @@ class TestCppNsImport(TestBase):
|
|||
self.assertTrue(src_file_spec.IsValid(), "Main source file")
|
||||
|
||||
# Get the path of the executable
|
||||
cwd = self.get_process_working_directory()
|
||||
cwd = os.getcwd()
|
||||
exe_file = "a.out"
|
||||
exe_path = os.path.join(cwd, exe_file)
|
||||
|
||||
|
@ -49,7 +49,7 @@ class TestCppNsImport(TestBase):
|
|||
# Launch the process
|
||||
args = None
|
||||
env = None
|
||||
process = target.LaunchSimple(args, env, cwd)
|
||||
process = target.LaunchSimple(args, env, self.get_process_working_directory())
|
||||
self.assertTrue(process.IsValid(), PROCESS_IS_VALID)
|
||||
|
||||
# Get the thread of the process
|
||||
|
|
Loading…
Reference in New Issue