This website requires JavaScript.
Explore
Help
Register
Sign In
Virtualization
/
meson
mirror of
https://gitlab.com/qemu-project/meson.git
Watch
1
Star
0
Fork
You've already forked meson
0
Code
Issues
Projects
Releases
Wiki
Activity
add502c648
meson
/
test cases
/
common
/
127 generated llvm ir
/
copyfile.py
7 lines
92 B
Python
Raw
Normal View
History
Unescape
Escape
tests: Use #!/usr/bin/env python3 for all scripts We automatically convert that to use sys.executable now which is always available on all platforms (because we're running with it). On some platforms like NetBSD, `python` doesn't exist, and you must use a specific python version. On most other distros, `python` is Python 2, and we don't want to depend on that. Closes https://github.com/mesonbuild/meson/issues/695 All these scripts were being used as `find_program()`, so we do not lose any test coverage by doing this.
2017-02-23 14:16:30 +08:00
#!/usr/bin/env python3
Add a test for generated LLVM IR files
2017-01-20 04:39:29 +08:00
import
sys
import
shutil
shutil
.
copyfile
(
sys
.
argv
[
1
]
,
sys
.
argv
[
2
]
)