Skip to content

Commit

Permalink
[microTVM][Zephyr] Add skip for AOT test (apache#8628)
Browse files Browse the repository at this point in the history
* add hex indicator to message

* add pytest skip

* trigger

* trigger
  • Loading branch information
mehrdadh committed Aug 11, 2021
1 parent 25d2969 commit 88594fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/micro/zephyr/test_zephyr_aot.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ def _get_message(fd, expr: str):


@tvm.testing.requires_micro
def test_tflite(temp_dir, platform, west_cmd, skip_build, tvm_debug):
def test_tflite(platform, west_cmd, skip_build, tvm_debug):
if platform not in ["host", "mps2_an521", "nrf5340dk", "stm32l4r5zi_nucleo", "zynq_mp_r5"]:
pytest.skip(msg="Model does not fit.")

"""Testing a TFLite model."""

if platform not in ["host", "mps2_an521", "nrf5340dk", "stm32l4r5zi_nucleo", "zynq_mp_r5"]:
Expand Down

0 comments on commit 88594fc

Please sign in to comment.