Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
crypto: fix algo selection
[vpp.git]
/
test
/
run.py
diff --git
a/test/run.py
b/test/run.py
index
93391a7
..
e756317
100755
(executable)
--- a/
test/run.py
+++ b/
test/run.py
@@
-48,9
+48,7
@@
vpp_plugin_path = vpp_test_plugin_path = ld_library_path = None
pip_version = "22.0.4"
pip_tools_version = "6.6.0"
pip_version = "22.0.4"
pip_tools_version = "6.6.0"
-# Test requirement files
-test_requirements_file = os.path.join(test_dir, "requirements.txt")
-# Auto-generated requirement file
+# Compiled pip requirements file
pip_compiled_requirements_file = os.path.join(test_dir, "requirements-3.txt")
pip_compiled_requirements_file = os.path.join(test_dir, "requirements-3.txt")
@@
-116,11
+114,6
@@
class ExtendedEnvBuilder(venv.EnvBuilder):
os.environ[
"CUSTOM_COMPILE_COMMAND"
] = "make test-refresh-deps (or update requirements.txt)"
os.environ[
"CUSTOM_COMPILE_COMMAND"
] = "make test-refresh-deps (or update requirements.txt)"
- # Cleanup previously auto-generated pip req. file
- try:
- os.unlink(pip_compiled_requirements_file)
- except OSError:
- pass
# Set the venv python executable & binary install path
env_exe = context.env_exe
bin_path = context.bin_path
# Set the venv python executable & binary install path
env_exe = context.env_exe
bin_path = context.bin_path
@@
-129,15
+122,6
@@
class ExtendedEnvBuilder(venv.EnvBuilder):
test_req = [
["pip", "install", "pip===%s" % pip_version],
["pip", "install", "pip-tools===%s" % pip_tools_version],
test_req = [
["pip", "install", "pip===%s" % pip_version],
["pip", "install", "pip-tools===%s" % pip_tools_version],
- [
- "piptools",
- "compile",
- "-q",
- "--generate-hashes",
- test_requirements_file,
- "--output-file",
- pip_compiled_requirements_file,
- ],
["piptools", "sync", pip_compiled_requirements_file],
["pip", "install", "-e", papi_python_src_dir],
]
["piptools", "sync", pip_compiled_requirements_file],
["pip", "install", "-e", papi_python_src_dir],
]