Skip to content

Properly invoke CTest#629

Merged
ggerganov merged 1 commit intoggml-org:masterfrom
sw:ctest
Mar 30, 2023
Merged

Properly invoke CTest#629
ggerganov merged 1 commit intoggml-org:masterfrom
sw:ctest

Conversation

@sw
Copy link
Contributor

@sw sw commented Mar 30, 2023

The CMakeLists.txt used enable_testing() without including CTest. This then caused the following errors to be printed:

[proc] Executing command: /home/i/.local/bin/ctest -j6 -C Debug -T test --output-on-failure
[ctest] Cannot find file: /home/i/coding/llama.cpp/build/DartConfiguration.tcl
[ctest] Cannot find file: /home/i/coding/llama.cpp/build/DartConfiguration.tcl

The proper way to use CTest is to include(CTest), which automatically invokes enable_testing() and DartConfiguration.tcl gets generated.

@ggerganov ggerganov merged commit 3bcc129 into ggml-org:master Mar 30, 2023
@sw sw deleted the ctest branch March 30, 2023 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants