[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / lldb / packages / Python / lldbsuite / test / issue_verification / enable.py
blobeb19276de1f7a8c260a3ceb42e702cd1364ca5b9
1 #!/usr/bin/env python
2 """Renames *.py.park files to *.py."""
3 import os
4 import sys
7 def main():
8 """Drives the main script behavior."""
9 script_dir = os.path.dirname(os.path.realpath(__file__))
10 for filename in os.listdir(script_dir):
11 basename, extension = os.path.splitext(filename)
12 if basename.startswith("Test") and extension == '.park':
13 source_path = os.path.join(script_dir, filename)
14 dest_path = os.path.join(script_dir, basename)
15 sys.stdout.write("renaming {} to {}\n".format(
16 source_path, dest_path))
17 os.rename(source_path, dest_path)
19 if __name__ == "__main__":
20 main()