Skip to content

Commit

Permalink
Enable interpreter tests from test_line_info.py (#2304)
Browse files Browse the repository at this point in the history
Closes #2308

Pass rate: `98.25%` -> `98.28%` for LTS

---------

Signed-off-by: Anatoly Myachev <[email protected]>
  • Loading branch information
anmyachev authored Sep 21, 2024
1 parent 95def77 commit 74dc4a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/test-triton.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ run_core_tests() {

# run test_line_info.py separately with TRITON_DISABLE_LINE_INFO=0
TRITON_DISABLE_LINE_INFO=0 TRITON_TEST_SUITE=line_info \
pytest --verbose --device xpu language/test_line_info.py
pytest -k "not test_line_info_interpreter" --verbose --device xpu language/test_line_info.py
}

run_regression_tests() {
Expand All @@ -210,6 +210,9 @@ run_interpreter_tests() {
TRITON_INTERPRET=1 TRITON_TEST_SUITE=interpreter \
pytest -vvv -n 16 -m interpreter language/test_core.py language/test_standard.py \
language/test_random.py --device cpu

TRITON_DISABLE_LINE_INFO=0 TRITON_INTERPRET=1 TRITON_TEST_SUITE=interpreter_line_info \
pytest -vvv -n 4 -m interpreter language/test_line_info.py --device cpu
}

run_tutorial_tests() {
Expand Down

0 comments on commit 74dc4a2

Please sign in to comment.