test: group examples into per-category folders
Move examples/*.sx and their expected/ snapshots into per-category subfolders (examples/<category>/...). Folder = leading filename token, with ffi-objc/ffi-jni kept whole; filenames are unchanged. The corpus runner and LSP sweep now discover each category's expected/ dir, while issues/ stays flat. Example 1058's repo-root-relative companion import is made file-relative. Path strings embedded in 164 snapshots were regenerated (path-only changes). Test-layout docs in CLAUDE.md updated.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
parse-only ok
|
||||
1
examples/ffi-jni/expected/1401-ffi-jni-call-02-void.exit
Normal file
1
examples/ffi-jni/expected/1401-ffi-jni-call-02-void.exit
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
skipped (not android)
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
15917
examples/ffi-jni/expected/1402-ffi-jni-call-03-methodid-sharing.ir
Normal file
15917
examples/ffi-jni/expected/1402-ffi-jni-call-03-methodid-sharing.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
15892
examples/ffi-jni/expected/1403-ffi-jni-call-04-jint-return.ir
Normal file
15892
examples/ffi-jni/expected/1403-ffi-jni-call-04-jint-return.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
15892
examples/ffi-jni/expected/1404-ffi-jni-call-05-jlong-return.ir
Normal file
15892
examples/ffi-jni/expected/1404-ffi-jni-call-05-jlong-return.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
15933
examples/ffi-jni/expected/1405-ffi-jni-call-06-jdouble-return.ir
Normal file
15933
examples/ffi-jni/expected/1405-ffi-jni-call-06-jdouble-return.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
15892
examples/ffi-jni/expected/1406-ffi-jni-call-07-jboolean-return.ir
Normal file
15892
examples/ffi-jni/expected/1406-ffi-jni-call-07-jboolean-return.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
15892
examples/ffi-jni/expected/1407-ffi-jni-call-08-jobject-return.ir
Normal file
15892
examples/ffi-jni/expected/1407-ffi-jni-call-08-jobject-return.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
15889
examples/ffi-jni/expected/1408-ffi-jni-call-09-static.ir
Normal file
15889
examples/ffi-jni/expected/1408-ffi-jni-call-09-static.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1,5 @@
|
||||
error: JNI method 'Buf.get' returns 'i8', which isn't supported by the JNI call-method lowering yet — only void/bool/i32/i64/f32/f64 and pointers are wired up
|
||||
--> examples/ffi-jni/1410-ffi-jni-call-11-unsupported-return-diag.sx:24:14
|
||||
|
|
||||
24 | _ := b.get();
|
||||
| ^^^^^
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
parse-only ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
parse-only ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
parse-only ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
parse-only ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
parse-only ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
parse-only ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
parse-only ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
16047
examples/ffi-jni/expected/1418-ffi-jni-class-08-call.ir
Normal file
16047
examples/ffi-jni/expected/1418-ffi-jni-class-08-call.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
1
examples/ffi-jni/expected/1420-ffi-jni-env-01-block.exit
Normal file
1
examples/ffi-jni/expected/1420-ffi-jni-env-01-block.exit
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
inside #jni_env scope
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
15890
examples/ffi-jni/expected/1421-ffi-jni-env-02-lexical-direct.ir
Normal file
15890
examples/ffi-jni/expected/1421-ffi-jni-env-02-lexical-direct.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
1
examples/ffi-jni/expected/1423-ffi-jni-main-01-emit.exit
Normal file
1
examples/ffi-jni/expected/1423-ffi-jni-main-01-emit.exit
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
1
examples/ffi-jni/expected/1425-ffi-jni-main-03-ctor.exit
Normal file
1
examples/ffi-jni/expected/1425-ffi-jni-main-03-ctor.exit
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
16019
examples/ffi-jni/expected/1425-ffi-jni-main-03-ctor.ir
Normal file
16019
examples/ffi-jni/expected/1425-ffi-jni-main-03-ctor.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
1
examples/ffi-jni/expected/1426-ffi-jni-extern-class.exit
Normal file
1
examples/ffi-jni/expected/1426-ffi-jni-extern-class.exit
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
parse-only ok
|
||||
Reference in New Issue
Block a user