Skip to content

Commit

Permalink
improve rename
Browse files Browse the repository at this point in the history
  • Loading branch information
juansblanco committed Apr 18, 2024
1 parent c1231cf commit cc25825
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_pdb_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ def test_copy_pdb_hook():
run(f'conan config install {repo}')
conan_home = run('conan config home').strip()
hooks_path = os.path.join(conan_home, 'extensions', 'hooks')
os.rename(f'{hooks_path}\_hook_copy_pdbs_to_package.py', f'{hooks_path}\hook_copy_pdbs_to_package.py')
old_file = os.path.join(hooks_path, '_hook_copy_pdbs_to_package.py')
new_file = os.path.join(hooks_path, 'hook_copy_pdbs_to_package.py')
os.rename(old_file, new_file)
run('conan profile detect')
run('conan new cmake_lib -d name=lib -d version=1.0')
out = run('conan create . -s build_type=Debug -o "*:shared=True" -tf=""')
Expand Down

0 comments on commit cc25825

Please sign in to comment.