Skip to content

Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦

C

tests: test_stops must not assume /tmp exists (fixes the windows job)

JustVugge7188df16a8a
diff --git a/c/tests/test_stops.c b/c/tests/test_stops.c
index a24215ff..00f922bf 100644
--- a/c/tests/test_stops.c
+++ b/c/tests/test_stops.c
@@ -65,7 +65,11 @@ static int expect(const char *what, int id, int want){
int main(void){
int fail=0;
- char dir[]="/tmp/coli_stops_XXXXXX";
+ /* Relative to the CWD, like test_compat_direct's TMPF — NOT "/tmp/...".
+ * These binaries are built by MinGW into native Windows .exe files, which
+ * resolve Windows paths: "/tmp" is not one, so mkdtemp there fails ENOENT
+ * and the whole `make check` goes red on the windows job (and only there). */
+ char dir[]="test_stops_XXXXXX";
if(!mkdtemp(dir)){ perror("mkdtemp"); return 1; }
write_tok(dir);
char tkp[512]; snprintf(tkp,sizeof(tkp),"%s/tokenizer.json",dir);