Skip to content

Commit 7a0c041

Browse files
committed
gate: register golden LoadAttr test in PHOENIX_MODULES
Without this entry the gate's hardcoded module list silently skips the new test, leaving the LoadAttr HIR oracle outside the gate's coverage. Adds it to BOTH the local x86_64 list (line 146) and the ARM64 remote-execution list (line 461).
1 parent aa430e6 commit 7a0c041

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/gate_phoenix.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ echo "JIT Smoke: PASS" | tee -a "$RESULTS_FILE"
143143
# Step 3: Phoenix test suite
144144
echo "" | tee -a "$RESULTS_FILE"
145145
echo "--- Step 3: Phoenix Tests ---" | tee -a "$RESULTS_FILE"
146-
PHOENIX_MODULES="test_phoenix_jit_arithmetic test_phoenix_jit_autocompile test_phoenix_jit_comparisons test_phoenix_jit_containers test_phoenix_jit_controlflow test_phoenix_jit_coverage test_phoenix_jit_functions test_phoenix_jit_generators test_phoenix_float test_phoenix_hir_type test_phoenix_profiling_hooks test_phoenix_deferred_compile test_phoenix_benchmark_correctness test_phoenix_usetype_float"
146+
PHOENIX_MODULES="test_phoenix_jit_arithmetic test_phoenix_jit_autocompile test_phoenix_jit_comparisons test_phoenix_jit_containers test_phoenix_jit_controlflow test_phoenix_jit_coverage test_phoenix_jit_functions test_phoenix_jit_generators test_phoenix_jit_loadattr_golden test_phoenix_float test_phoenix_hir_type test_phoenix_profiling_hooks test_phoenix_deferred_compile test_phoenix_benchmark_correctness test_phoenix_usetype_float"
147147
PHOENIX_OUTPUT=$(JIT_ENABLE=1 ASAN_OPTIONS=detect_leaks=0 "$PYTHON" -m test $PHOENIX_MODULES 2>&1 || true)
148148

149149
PHOENIX_TOTAL=$(echo "$PHOENIX_OUTPUT" | grep -oP 'Total tests: run=\K[0-9]+' || echo 0)
@@ -458,7 +458,7 @@ if [ "$ARM64" -eq 1 ]; then
458458
scripts/build_phoenix.sh 2>&1 | tail -5;
459459
echo BUILD_ARM64=\$?;
460460
chmod +x python;
461-
JIT_ENABLE=1 ./python -m test test_phoenix_jit_arithmetic test_phoenix_jit_autocompile test_phoenix_jit_comparisons test_phoenix_jit_containers test_phoenix_jit_controlflow test_phoenix_jit_coverage test_phoenix_jit_functions test_phoenix_jit_generators test_phoenix_float test_phoenix_hir_type test_phoenix_benchmark_correctness test_phoenix_deferred_compile test_phoenix_profiling_hooks test_phoenix_usetype_float 2>&1 | tail -10;
461+
JIT_ENABLE=1 ./python -m test test_phoenix_jit_arithmetic test_phoenix_jit_autocompile test_phoenix_jit_comparisons test_phoenix_jit_containers test_phoenix_jit_controlflow test_phoenix_jit_coverage test_phoenix_jit_functions test_phoenix_jit_generators test_phoenix_jit_loadattr_golden test_phoenix_float test_phoenix_hir_type test_phoenix_benchmark_correctness test_phoenix_deferred_compile test_phoenix_profiling_hooks test_phoenix_usetype_float 2>&1 | tail -10;
462462
echo ARM64_EXIT=\$?
463463
" 2>&1 || echo "ARM64_REMOTE_FAIL")
464464

0 commit comments

Comments
 (0)