Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/881890
Change-Id: I9ebf7457e0fc0c98711ba1b093b0f1b8a9f25dff
This commit is contained in:
Tim Burke 2023-04-28 12:23:40 -07:00
parent 4ce04d1d5c
commit 415efe08f2
3 changed files with 4 additions and 1 deletions

View File

@ -3,5 +3,6 @@
# process, which may cause wedges in the gate later. # process, which may cause wedges in the gate later.
coverage coverage
attrs<22; python_version<"3.5"
pytest pytest
six>=1.9.0 six>=1.9.0

View File

@ -67,7 +67,7 @@ class CoreTests():
(pythonpath, test_cmd_prefix, test, cur_dir, (pythonpath, test_cmd_prefix, test, cur_dir,
log_filename_prefix, test)) log_filename_prefix, test))
assert(0 == ret) assert (0 == ret)
os.system("rm -f *.pyc") os.system("rm -f *.pyc")
os.chdir(cur_dir) os.chdir(cur_dir)
print('ok') print('ok')

View File

@ -11,6 +11,8 @@ setenv = LIBERASURECODE_DIR={envdir}/liberasurecode
JERASURE_DIR={envdir}/jerasure JERASURE_DIR={envdir}/jerasure
GFCOMPLETE_DIR={envdir}/gf-complete GFCOMPLETE_DIR={envdir}/gf-complete
passenv = LIBERASURECODE_REF passenv = LIBERASURECODE_REF
allowlist_externals =
compilelibs: {toxinidir}/tools/pip-install-with-liberasurecode.sh
install_command = install_command =
compilelibs: {toxinidir}/tools/pip-install-with-liberasurecode.sh {opts} {packages} compilelibs: {toxinidir}/tools/pip-install-with-liberasurecode.sh {opts} {packages}
!compilelibs: pip install {opts} {packages} !compilelibs: pip install {opts} {packages}