Skip to content

Commit 7c46584

Browse files
committed
test: update Makefile to include functions and resolving test targets
Add test_functions_w_jlox and test_resolving_w_jlox to the test_all target, ensuring comprehensive test coverage for recent language feature implementations
1 parent f3b998c commit 7c46584

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ test_control_flow_w_jlox: build
137137
]" \
138138
$(shell pwd)/dist/main.out
139139

140-
141140
test_functions_w_jlox: build
142141
CODECRAFTERS_REPOSITORY_DIR=./craftinginterpreters/build/gen/chap10_functions \
143142
CODECRAFTERS_TEST_CASES_JSON="[ \
@@ -154,7 +153,7 @@ test_functions_w_jlox: build
154153
$(shell pwd)/dist/main.out
155154

156155
test_resolving_w_jlox: build
157-
CODECRAFTERS_REPOSITORY_DIR=./craftinginterpreters/build/gen/chap10_functions \
156+
CODECRAFTERS_REPOSITORY_DIR=./craftinginterpreters/build/gen/chap11_resolving \
158157
CODECRAFTERS_TEST_CASES_JSON="[ \
159158
{\"slug\":\"r1\",\"tester_log_prefix\":\"stage_701\",\"title\":\"Stage #701: Resolving: Function Resolution\"}, \
160159
{\"slug\":\"r2\",\"tester_log_prefix\":\"stage_702\",\"title\":\"Stage #702: Resolving: Variable Resolution\"}, \
@@ -166,4 +165,4 @@ test_resolving_w_jlox: build
166165
]" \
167166
$(shell pwd)/dist/main.out
168167

169-
test_all: test_scanning_w_jlox test_parsing_w_jlox test_evaluation_w_jlox test_statements_w_jlox test_control_flow_w_jlox
168+
test_all: test_scanning_w_jlox test_parsing_w_jlox test_evaluation_w_jlox test_statements_w_jlox test_control_flow_w_jlox test_functions_w_jlox test_resolving_w_jlox

0 commit comments

Comments
 (0)