We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca28257 commit 4b9d9e7Copy full SHA for 4b9d9e7
1 file changed
test/scripts/run_tests_with_ollama.sh
@@ -35,8 +35,14 @@ OLLAMA_MODELS=(
35
"granite3.2-vision"
36
)
37
38
-# Log directory
39
-LOGDIR="logs/$(date +%Y%m%d_%H%M%S)"
+# Log directory - use MELLEA_LOGDIR if set (from nightly.py), otherwise create standalone
+if [[ -n "${MELLEA_LOGDIR:-}" ]]; then
40
+ LOGDIR="$MELLEA_LOGDIR"
41
+ log "Using provided log directory: $LOGDIR"
42
+else
43
+ LOGDIR="logs/$(date +%Y-%m-%d-%H:%M:%S)"
44
+ log "Using standalone log directory: $LOGDIR"
45
+fi
46
mkdir -p "$LOGDIR"
47
48
cleanup() {
0 commit comments