Skip to content

Commit 06517f5

Browse files
[TEST] Mark expected failures as xfail
Signed-off-by: Whitney Tsang <[email protected]>
1 parent a15f458 commit 06517f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/test/gluon/test_core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,7 @@ def kernel(out_ptr, M: ttgl.constexpr, N: ttgl.constexpr, K: ttgl.constexpr, a,
15831583
assert "ttng.tc_gen5_mma_scaled" in ttgir
15841584

15851585

1586-
@pytest.mark.skipif(not is_ampere_or_newer(), reason="Requires Ampere or newer")
1586+
@pytest.mark.xfail(not is_ampere_or_newer(), reason="Requires Ampere or newer", run=False)
15871587
def test_coalesced_layout():
15881588

15891589
@gluon.jit
@@ -1628,7 +1628,7 @@ def kernel(in_ptr, out_ptr, #
16281628
torch.testing.assert_close(output, ref)
16291629

16301630

1631-
@pytest.mark.skipif(not is_ampere_or_newer(), reason="Requires Ampere or newer")
1631+
@pytest.mark.xfail(not is_ampere_or_newer(), reason="Requires Ampere or newer", run=False)
16321632
def test_convert_auto_layout_to_coalesced_layout():
16331633

16341634
@gluon.jit

python/test/unit/tools/test_aot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ def test_ttgir_to_spv():
696696

697697
def test_gluon_kernel():
698698
if not is_hip():
699-
pytest.skip("Gluon kernel is only supported on HIP")
699+
pytest.xfail("Gluon kernel is only supported on HIP")
700700
with tempfile.TemporaryDirectory() as tmp_dir:
701701
dtype = "fp16"
702702
BM, BN, BK = 16, 16, 16

0 commit comments

Comments
 (0)