[PATCH] VM now initializes globals to Integer 0.B B B B B B B B B B B B B B B B B B B B B [PATCH] EfunManager path corrected to src/efuns.CCCCCCCCCCCCCCCCCCC CC [PATCH] Standard MUD efuns (clone, sizeof, explode, destruct) injected. user@elli:~/GD$ user@elli:~/GD$ user@elli:~/GD$ node tests/run_all.js [MASTER] Scanning for test definitions in /home/user/GD/tests/batch ================================================== [MASTER] Executing Test: 01_echo_test.json ================================================== [TEST RUNNER] Orchestrating test for tests/fixtures/echo.c on port 5000 [VM STDOUT] HAUKI> [VM STDOUT] HAUKI REPL ready. Serving 1 network port(s). [NetServer] Listening on port 5000 ? tests/fixtures/echo.c [TEST RUNNER] Socket connected to localhost:5000. Initiating sequence... [VM STDOUT] [NetServer] New connection: OID 0 ? ::ffff:127.0.0.1:60910 [VM STDOUT] [VM DEBUG] net_write emitted String: "ECHO: Hello HAUKI" [PASS] Sent: "Hello HAUKI" | Recv: "ECHO: Hello HAUKI" [VM STDOUT] [VM DEBUG] net_write emitted String: "ECHO: Testing Mesh" [PASS] Sent: "Testing Mesh" | Recv: "ECHO: Testing Mesh" [TEST RUNNER] ? Sequence complete. All assertions passed. [MASTER] ? 01_echo_test.json PASSED ================================================== [MASTER] Executing Test: 02_array_test.json ================================================== [TEST RUNNER] Orchestrating test for tests/fixtures/array_math.c on port 5001 [VM STDOUT] HAUKI> [VM STDOUT] HAUKI REPL ready. Serving 1 network port(s). [NetServer] Listening on port 5001 ? tests/fixtures/array_math.c [TEST RUNNER] Socket connected to localhost:5001. Initiating sequence... [VM STDOUT] [NetServer] New connection: OID 0 ? ::ffff:127.0.0.1:40470 [VM STDOUT] [VM DEBUG] net_write emitted String: "MATH: -150" [PASS] Sent: "calculate" | Recv: "MATH: -150" [TEST RUNNER] ? Sequence complete. All assertions passed. [MASTER] ? 02_array_test.json PASSED ================================================== [MASTER] Executing Test: 03_inherit_test.json ================================================== [TEST RUNNER] Orchestrating test for tests/fixtures/child.c on port 5002 [VM STDOUT] HAUKI> [VM STDOUT] HAUKI REPL ready. Serving 1 network port(s). [NetServer] Listening on port 5002 ? tests/fixtures/child.c [TEST RUNNER] Socket connected to localhost:5002. Initiating sequence... [VM STDOUT] [NetServer] New connection: OID 0 ? ::ffff:127.0.0.1:38320 [VM STDOUT] [VM DEBUG] net_write emitted String: "SECRET: " [PASS] Sent: "reveal" | Recv: "SECRET: 42" [TEST RUNNER] ? Sequence complete. All assertions passed. [MASTER] ? 03_inherit_test.json PASSED ================================================== [MASTER] Executing Test: 04_stress_test.json ================================================== [TEST RUNNER] Orchestrating test for tests/fixtures/life.c on port 5003 [VM STDOUT] HAUKI> [VM STDOUT] HAUKI REPL ready. Serving 1 network port(s). [NetServer] Listening on port 5003 ? tests/fixtures/life.c [TEST RUNNER] Socket connected to localhost:5003. Initiating sequence... [VM STDOUT] [NetServer] New connection: OID 0 ? ::ffff:127.0.0.1:51188 [VM STDOUT] [VM DEBUG] net_write emitted String: ".#... .#... .#... ..... ..... "B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B[PASS] Sent: "step" | Recv: ".#...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCC .#... .#... ..... ....." [TEST RUNNER] ? Sequence complete. All assertions passed. [MASTER] ? 04_stress_test.json PASSED ================================================== [MASTER] Executing Test: 05_game_test.json ================================================== [TEST RUNNER] Orchestrating test for tests/fixtures/adventure.c on port 5004 [VM STDOUT] HAUKI> [VM STDOUT] HAUKI REPL ready. Serving 1 network port(s). [NetServer] Listening on port 5004 ? tests/fixtures/adventure.c [TEST RUNNER] Socket connected to localhost:5004. Initiating sequence... [VM STDOUT] [NetServer] New connection: OID 0 ? ::ffff:127.0.0.1:52920 [VM STDOUT] [VM DEBUG] net_write emitted String: "ROOM: Cell. Exits: north. You see: key." [PASS] Sent: "look" | Recv: "ROOM: Cell" [VM STDOUT] [VM DEBUG] net_write emitted String: "ACTION: You take the key." [PASS] Sent: "take key" | Recv: "ACTION: You take the key" [VM STDOUT] [VM DEBUG] net_write emitted String: "ACTION: You unlock the door and go north." [PASS] Sent: "north" | Recv: "ACTION: You unlock the door" [VM STDOUT] [VM DEBUG] net_write emitted String: "ROOM: Hallway. You are free!" [PASS] Sent: "look" | Recv: "ROOM: Hallway" [TEST RUNNER] ? Sequence complete. All assertions passed. [MASTER] ? 05_game_test.json PASSED ================================================== [MASTER] Test Suite Complete. [MASTER] Passed: 5 | Failed: 0 ================================================== user@elli:~/GD$