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
dc19b13202
meson
/
test cases
/
common
/
101 find program path
/
program.py
4 lines
39 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 getting the path of a found program
2016-02-18 18:56:23 +08:00
print
(
"
Found
"
)