Repository navigation
README: test skip markers, memory-model runs, libc name clashes - #89
Merged
Merged
Conversation
The Testing section now shows how to run the tests under one memory model (tests.ps1 -Model, tests.sh <model>, TSLANG_MM), the first-line markers that skip a test (// gc only, // not own, // linux only), and that a test function named like a libc function (read, write) replaces it on Linux, which made a test segfault under -mm=gc (#88). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The README already describes #85–#87. This PR adds three things the Testing section left out.
tests.ps1 -Model own,./tests.sh rc, orTSLANG_MM. Without one, the tests run undergc.// gc only,// not ownor// linux onlyis skipped under the matching runs. A test with only one part that can't run under some model checks__MEMORY_MODEL__instead, astests/json_index.tsdoes.read,write, ...) replaces it, for the collector too. The test changed in json_index.ts: readByKey/writeByKey, not read/write (Linux -mm=gc segfault) #88 crashed this way under-mm=gc.This PR changes only the README; no code changes and no tests to run.
🤖 Generated with Claude Code