Commit e8fbcad85 for llama.cpp
commit e8fbcad855c5d8c315aa1dde231836ae472f5779
Author: Pascal <admin@serveurperso.com>
Date: Mon Nov 16 21:53:32 2026 +0100
tests: print the exception message in test-llama-context (#32428)
A case that throws only reported "unhandled exception", which hides
the cause of the intermittent failures on the Vulkan Apple runner.
diff --git a/tests/llama-context/test-runner.cpp b/tests/llama-context/test-runner.cpp
index 6f38d12f3..1ca3f4c03 100644
--- a/tests/llama-context/test-runner.cpp
+++ b/tests/llama-context/test-runner.cpp
@@ -89,6 +89,9 @@ std::vector<case_run> run_cases(model_run & mr, const std::vector<const ctx_test
}
}
}
+ } catch (const std::exception & e) {
+ run.status = test_status::FAIL;
+ run.reason = std::string("exception: ") + e.what();
} catch (...) {
run.status = test_status::FAIL;
run.reason = "unhandled exception";