git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a1c4c
)
patman: Use python3 with /usr/bin/env
author
Simon Glass
<sjg@chromium.org>
Sat, 10 May 2025 11:04:57 +0000
(13:04 +0200)
committer
Simon Glass
<sjg@chromium.org>
Tue, 27 May 2025 09:07:42 +0000
(10:07 +0100)
If python2 is available then we must specify python3 here. Update the
test to handle this.
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/func_test.py
patch
|
blob
|
history
diff --git
a/tools/patman/func_test.py
b/tools/patman/func_test.py
index
00aed87
..
da81101
100644
(file)
--- a/
tools/patman/func_test.py
+++ b/
tools/patman/func_test.py
@@
-637,7
+637,7
@@
complicated as possible''')
'check_patch: False\n'
'add_maintainers: True\n', binary=False)
tools.write_file('dummy-script.sh',
- '#!/usr/bin/env python\n'
+ '#!/usr/bin/env python
3
\n'
'print("hello@there.com")\n', binary=False)
os.chmod('dummy-script.sh', 0x555)
tools.run('git', 'add', '.')