Add a minimal path manipulation C module.

This is just for the VM's own internal use, for resolving relative
imports.

Also added a tiny unit test framework for writing tests of low-level
C functionality that isn't exposed directly by the language or VM.
This commit is contained in:
Bob Nystrom
2018-03-24 10:52:16 -07:00
parent 8a71735e0f
commit 5539c59750
12 changed files with 642 additions and 30 deletions

View File

@ -154,7 +154,7 @@ def run_trial(benchmark, language):
# of the normal Wren build.
if benchmark[0].startswith("api_"):
executable_args = [
os.path.join(WREN_DIR, "build", "release", "test", "wren")
os.path.join(WREN_DIR, "build", "release", "test", "api_wren")
]
args = []