Fix test runner paths, all 203 tests pass
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m1s

Spec tests (Python host): 43 CEK + 24 continuations + 90 types = 157
Web tests (Python host): 20 signals + 26 CEK reactive = 46
Total: 203 tests, 0 failures.

Fixed: continuation test bootstrapper path, type test spec dir path.
Both bootstrappers verified: Python (5993 lines), JS (387KB).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-15 10:04:01 +00:00
parent 7cde140c7e
commit 1a5dbc2800
3 changed files with 4 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ sys.path.insert(0, _PROJECT)
# Bootstrap a fresh sx_ref with continuations enabled
print("Bootstrapping with --extensions continuations ...")
result = subprocess.run(
[sys.executable, os.path.join(_HERE, "bootstrap_py.py"),
[sys.executable, os.path.join(_HERE, "..", "bootstrap.py"),
"--extensions", "continuations"],
capture_output=True, text=True, cwd=_PROJECT,
)

View File

@@ -5,6 +5,7 @@ import os, sys
_HERE = os.path.dirname(os.path.abspath(__file__))
_PROJECT = os.path.abspath(os.path.join(_HERE, "..", "..", ".."))
_SPEC_DIR = os.path.join(_PROJECT, "spec")
_SPEC_TESTS = os.path.join(_PROJECT, "spec", "tests")
_WEB_TESTS = os.path.join(_PROJECT, "web", "tests")
sys.path.insert(0, _PROJECT)
@@ -174,7 +175,7 @@ with open(os.path.join(_SPEC_TESTS, "test-framework.sx")) as f:
trampoline(eval_expr(expr, env))
# Load types module
with open(os.path.join(_HERE, "types.sx")) as f:
with open(os.path.join(_SPEC_DIR, "types.sx")) as f:
for expr in parse_all(f.read()):
trampoline(eval_expr(expr, env))