File: test_rdm.py

package info (click to toggle)
mpich 4.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 101,184 kB
  • sloc: ansic: 1,040,629; cpp: 82,270; javascript: 40,763; perl: 27,933; python: 16,041; sh: 14,676; xml: 14,418; f90: 12,916; makefile: 9,270; fortran: 8,046; java: 4,635; asm: 324; ruby: 103; awk: 27; lisp: 19; php: 8; sed: 4
file content (90 lines) | stat: -rw-r--r-- 3,785 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import pytest

@pytest.mark.unit
def test_rdm_g00n13s(cmdline_args):
    from common import UnitTest
    test = UnitTest(cmdline_args, "fi_rdm g00n13s", is_negative=True)
    test.run()

@pytest.mark.functional
def test_rdm(cmdline_args, completion_semantic):
    from common import ClientServerTest
    test = ClientServerTest(cmdline_args, "fi_rdm", completion_semantic=completion_semantic)
    test.run()

@pytest.mark.functional
def test_rdm_rma_event(cmdline_args):
    from common import ClientServerTest
    test = ClientServerTest(cmdline_args, "fi_rdm_rma_event")
    test.run()

@pytest.mark.functional
def test_rdm_rma_trigger(cmdline_args):
    from common import ClientServerTest
    test = ClientServerTest(cmdline_args, "fi_rdm_rma_trigger")
    test.run()

@pytest.mark.functional
def test_rdm_tagged_peek(cmdline_args):
    from common import ClientServerTest
    test = ClientServerTest(cmdline_args, "fi_rdm_tagged_peek")
    test.run()

@pytest.mark.functional
def test_rdm_shared_av(cmdline_args):
    from common import ClientServerTest
    test = ClientServerTest(cmdline_args, "fi_rdm_shared_av")
    test.run()

@pytest.mark.functional
def test_rdm_bw_functional(cmdline_args, completion_semantic):
    from common import ClientServerTest
    test = ClientServerTest(cmdline_args, "fi_bw -e rdm -v -T 1", completion_semantic=completion_semantic)
    test.run()

@pytest.mark.parametrize("iteration_type",
                         [pytest.param("short", marks=pytest.mark.short),
                          pytest.param("standard", marks=pytest.mark.standard)])
def test_rdm_atomic(cmdline_args, iteration_type, completion_semantic):
    from common import ClientServerTest
    test = ClientServerTest(cmdline_args, "fi_rdm_atomic", iteration_type, completion_semantic)
    test.run()

@pytest.mark.parametrize("iteration_type",
                         [pytest.param("short", marks=pytest.mark.short),
                          pytest.param("standard", marks=pytest.mark.standard)])
def test_rdm_cntr_pingpong(cmdline_args, iteration_type):
    from common import ClientServerTest
    test = ClientServerTest(cmdline_args, "fi_rdm_cntr_pingpong", iteration_type)
    test.run()

@pytest.mark.parametrize("iteration_type",
                         [pytest.param("short", marks=pytest.mark.short),
                          pytest.param("standard", marks=pytest.mark.standard)])
def test_rdm_pingpong(cmdline_args, iteration_type,
                      prefix_type, datacheck_type, completion_semantic):
    from common import ClientServerTest
    test = ClientServerTest(cmdline_args, "fi_rdm_pingpong", iteration_type,
                            completion_semantic, prefix_type, datacheck_type)
    test.run()

@pytest.mark.parametrize("iteration_type",
                         [pytest.param("short", marks=pytest.mark.short),
                          pytest.param("standard", marks=pytest.mark.standard)])
def test_rdm_tagged_pingpong(cmdline_args, iteration_type,
                             datacheck_type, completion_semantic):
    from common import ClientServerTest
    test = ClientServerTest(cmdline_args, "fi_rdm_tagged_pingpong", iteration_type,
                            completion_semantic, datacheck_type=datacheck_type)
    test.run()

@pytest.mark.parametrize("iteration_type",
                         [pytest.param("short", marks=pytest.mark.short),
                          pytest.param("standard", marks=pytest.mark.standard)])
def test_rdm_tagged_bw(cmdline_args, iteration_type, datacheck_type, completion_semantic):
    from common import ClientServerTest
    test = ClientServerTest(cmdline_args, "fi_rdm_tagged_bw", iteration_type,
                            completion_semantic, datacheck_type=datacheck_type)
    test.run()