Commit cc3ba91e authored by wenjh's avatar wenjh
Browse files

Remove python path in L0_pytroch_unittest


Signed-off-by: wenjh's avatarwenjh <wenjh@sugon.com>
parent b998121c
......@@ -24,8 +24,6 @@ mkdir -p "$XML_LOG_DIR"
pip3 install pytest==8.2.1 || error_exit "Failed to install pytest"
pip3 install expecttest || error_exit "Failed to install expecttest"
# Set PYTHONPATH to include the source directory
export PYTHONPATH="${TE_PATH}:${PYTHONPATH}"
python3 -m pytest -v -s --junitxml=$XML_LOG_DIR/pytest_test_sanity.xml $TE_PATH/tests/pytorch/test_sanity.py || test_fail "test_sanity.py"
python3 -m pytest -v -s --junitxml=$XML_LOG_DIR/pytest_test_recipe.xml $TE_PATH/tests/pytorch/test_recipe.py || test_fail "test_recipe.py"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment