Skip to content

Commit 9c42164

Browse files
committed
fix bug
Signed-off-by: Ni, Wenhui <[email protected]>
1 parent f08c6e0 commit 9c42164

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

behavior_tests/src/execute_from_bundle_root/do_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717
def setup_test(single_case_text):
1818
change_dir(single_case_text.name, single_case_text)
19-
prepare_execution_folder()
19+
prepare_execution_folder(single_case_text)
2020
return True
2121

2222

23-
def prepare_execution_folder():
23+
def prepare_execution_folder(single_case_text):
2424
copy_ct_bin = os.path.dirname(str(shutil.which(single_case_text.CT_TOOL)))
2525
distutils.dir_util.copy_tree(copy_ct_bin, "bin")
2626

behavior_tests/src/execute_from_cuda_path/do_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717
def setup_test(single_case_text):
1818
change_dir(single_case_text.name, single_case_text)
19-
prepare_execution_folder()
19+
prepare_execution_folder(single_case_text)
2020
return True
2121

2222

23-
def prepare_execution_folder():
23+
def prepare_execution_folder(single_case_text):
2424
distutils.dir_util.copy_tree(single_case_text.include_path, "include")
2525

2626
def migrate_test(single_case_text):

0 commit comments

Comments
 (0)