mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #173096 from dotlambda/tempest-interpreter
python3Packages.tempest: use correct interpreter
This commit is contained in:
commit
919b1ece02
@ -24,7 +24,7 @@
|
||||
, hacking
|
||||
, oslotest
|
||||
, bash
|
||||
, python3
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
@ -76,8 +76,8 @@ buildPythonApplication rec {
|
||||
# Tests expect these applications available as such.
|
||||
mkdir -p bin
|
||||
export PATH="$PWD/bin:$PATH"
|
||||
printf '#!${bash}/bin/bash\nexec ${python3.interpreter} -m tempest.cmd.main "$@"\n' > bin/tempest
|
||||
printf '#!${bash}/bin/bash\nexec ${python3.interpreter} -m tempest.cmd.subunit_describe_calls "$@"\n' > bin/subunit-describe-calls
|
||||
printf '#!${bash}/bin/bash\nexec ${python.interpreter} -m tempest.cmd.main "$@"\n' > bin/tempest
|
||||
printf '#!${bash}/bin/bash\nexec ${python.interpreter} -m tempest.cmd.subunit_describe_calls "$@"\n' > bin/subunit-describe-calls
|
||||
chmod +x bin/*
|
||||
|
||||
stestr --test-path tempest/tests run -e <(echo "
|
||||
|
Loading…
Reference in New Issue
Block a user