Skip to content

Conversation

@xiaobing318
Copy link
Contributor

Problem Description

The current test command for the llama-server object in the project has a duplicated file extension, which prevents the test script from correctly locating the test file. The original command was:

./tests.sh unit/test_chat_completion.py.py -v -x

The correct file name should be unit/test_chat_completion.py.

Proposed Solution

This PR corrects the test command by removing the extra .py extension. The updated command is:

./tests.sh unit/test_chat_completion.py -v -x

This fix ensures that the tests are executed as expected without encountering file name errors.

Testing

  • Ran the updated command locally to confirm that the test file is correctly found and executed.
  • Verified that the change does not affect other parts of the test suite.

Make sure to read the contributing guidelines before submitting a PR

This commit fixes an issue in the llama.cpp project where the command for testing the llama-server object contained a duplicated file extension. The original command was:
./tests.sh unit/test_chat_completion.py.py -v -x
It has been corrected to:
./tests.sh unit/test_chat_completion.py -v -x
This change ensures that the test script correctly locates and executes the intended test file, preventing test failures due to an incorrect file name.
@ngxson ngxson merged commit 09aaf4f into ggml-org:master Feb 18, 2025
6 checks passed
orca-zhang pushed a commit to orca-zhang/llama.cpp that referenced this pull request Feb 26, 2025
This commit fixes an issue in the llama.cpp project where the command for testing the llama-server object contained a duplicated file extension. The original command was:
./tests.sh unit/test_chat_completion.py.py -v -x
It has been corrected to:
./tests.sh unit/test_chat_completion.py -v -x
This change ensures that the test script correctly locates and executes the intended test file, preventing test failures due to an incorrect file name.
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Feb 26, 2025
This commit fixes an issue in the llama.cpp project where the command for testing the llama-server object contained a duplicated file extension. The original command was:
./tests.sh unit/test_chat_completion.py.py -v -x
It has been corrected to:
./tests.sh unit/test_chat_completion.py -v -x
This change ensures that the test script correctly locates and executes the intended test file, preventing test failures due to an incorrect file name.
mglambda pushed a commit to mglambda/llama.cpp that referenced this pull request Mar 8, 2025
This commit fixes an issue in the llama.cpp project where the command for testing the llama-server object contained a duplicated file extension. The original command was:
./tests.sh unit/test_chat_completion.py.py -v -x
It has been corrected to:
./tests.sh unit/test_chat_completion.py -v -x
This change ensures that the test script correctly locates and executes the intended test file, preventing test failures due to an incorrect file name.
mostlyuseful pushed a commit to mostlyuseful/llama.cpp that referenced this pull request May 12, 2025
This commit fixes an issue in the llama.cpp project where the command for testing the llama-server object contained a duplicated file extension. The original command was:
./tests.sh unit/test_chat_completion.py.py -v -x
It has been corrected to:
./tests.sh unit/test_chat_completion.py -v -x
This change ensures that the test script correctly locates and executes the intended test file, preventing test failures due to an incorrect file name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants