Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests:update testcases #15262

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tools/ci/testrun/script/test_example/test_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def test_popen(p):
assert ret == 0


@pytest.mark.skip
def test_usrsocktest(p):
ret = p.sendCommand("usrsocktest", "FAILED:0", timeout=60)
assert ret == 0
4 changes: 2 additions & 2 deletions tools/ci/testrun/script/test_framework/test_cmocka.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

import pytest

pytestmark = [pytest.mark.common, pytest.mark.rv_virt]
pytestmark = [pytest.mark.common, pytest.mark.rv_virt, pytest.mark.goldfish_armeabi_v7a_ap]

cmocka_list_start = "cmocka_list_start"
cmocka_list_end = "cmocka_list_end"
Expand All @@ -49,7 +49,7 @@ def test_cmocka(p):
p.sendCommand(f"echo {cmocka_test_start}")
ret = p.sendCommand(
"cmocka --skip test_case_posix_timer|test_case_oneshot|write_default|read_default|burst_test|gpiotest01|"
"test_playback.*|test_interaction.*|test_stress.*|test_capture.*",
"test_playback.*|test_interaction.*|test_stress.*|test_capture.*|test_case_touchpanel",
"Cmocka Test Completed",
timeout=1200,
)
Expand Down
18 changes: 9 additions & 9 deletions tools/ci/testrun/script/test_libuv/test_libuv.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@


class TestLibuv:
pytestmark = [pytest.mark.sim]
pytestmark = [pytest.mark.sim, pytest.mark.goldfish_armeabi_v7a_ap]

def test_test_macros(self, p):
ret = p.sendCommand(
Expand Down Expand Up @@ -254,13 +254,13 @@ def test_active(self, p):
ret = p.sendCommand("uv_run_tests active", ["not ok 1 -", "ok 1 -"], timeout=10)
assert ret == 1

@pytest.mark.skip
def test_embed(self, p):
if p.board in ["sim"]:
pytest.skip("unsupported at %s" % p.board)
ret = p.sendCommand("uv_run_tests embed", ["not ok 1 -", "ok 1 -"], timeout=10)
assert ret == 1

@pytest.mark.skip(reason="VELAPLATFO-6346")
def test_async(self, p):
if p.ci:
pytest.skip("unsupported at %s" % p.board)
Expand Down Expand Up @@ -299,13 +299,13 @@ def test_gettimeofday(self, p):
)
assert ret == 1

def test_poll_oob(self, p):
if p.board in ["sim"]:
pytest.skip("unsupported at %s" % p.board)
ret = p.sendCommand(
"uv_run_tests poll_oob", ["not ok 1 -", "ok 1 -"], timeout=10
)
assert ret == 1
# def test_poll_oob(self, p):
# if p.board in ["sim"]:
# pytest.skip("unsupported at %s" % p.board)
# ret = p.sendCommand(
# "uv_run_tests poll_oob", ["not ok 1 -", "ok 1 -"], timeout=10
# )
# assert ret == 1

def test_threadpool_queue_work_simple(self, p):
ret = p.sendCommand(
Expand Down
Loading
Loading