-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtester.sh
More file actions
executable file
·28 lines (27 loc) · 768 Bytes
/
tester.sh
File metadata and controls
executable file
·28 lines (27 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env bash
: ${FILES:='name-generator.sh'}
: ${TEST:="make test"}
: ${MESSAGE:="/test ${TEST}"}
: "${counto:=24}"
#: "${MODEL:=ollama_chat/qwen2.5-coder:32b-base-fp16}"
#: "${MODEL:=ollama_chat/qwen3:32b-fp16}"
#: "${MODEL:=ollama_chat/llama4:scout}"
#: ${MODEL:=ollama_chat/gemma3:27b-it-fp16}
: ${MODEL:=ollama_chat/gpt-oss:120b}
#: ${MODEL:=ollama_chat/deepseek-r1:70b-llama-distill-q8_0}
#: ${MODEL:=ollama_chat/granite4:32b-a9b-h}
#echo TEST
set -eu
#fpc name-generator.pas -oname-generator_pascal
#octave name-generator.mat
bats -x test/mat.bats
exit 0
${TEST}
if [[ ! $? -eq 0 ]]; then
aider \
--config config/test.conf.yml \
--model "ollama_chat/${MODEL}" \
--test-cmd "${TEST}" \
--message "${MESSAGE}" \
--file "${FILES}"
fi