@@ -97,83 +97,77 @@ def test_device(testdir, file, cmds, outcomes):
97
97
new_cmds = (),
98
98
legacy_cmds = (),
99
99
passed = 3 ,
100
- skipped = 7 ,
100
+ skipped = 1 ,
101
101
failed = 2 ,
102
102
),
103
103
Config (
104
104
"1testcase1-*test-*dtype" ,
105
105
new_cmds = "::TestFoo" ,
106
106
legacy_cmds = ("-k" , "TestFoo" ),
107
107
passed = 2 ,
108
- skipped = 5 ,
108
+ skipped = 1 ,
109
109
failed = 1 ,
110
110
),
111
111
Config (
112
- "1testcase2-*test-*device " ,
112
+ "1testcase2-*test-*dtype " ,
113
113
new_cmds = "::TestSpam" ,
114
114
legacy_cmds = ("-k" , "TestSpam" ),
115
115
passed = 1 ,
116
- skipped = 2 ,
117
116
failed = 1 ,
118
117
),
119
118
Config (
120
119
"*testcase-*test-1dtype1" ,
121
120
new_cmds = ("-k" , "float16" ),
122
121
legacy_cmds = ("-k" , "float16" ),
123
122
passed = 1 ,
124
- skipped = 3 ,
125
123
failed = 2 ,
126
124
),
127
125
Config (
128
126
"*testcase-*test-1dtype2" ,
129
127
new_cmds = ("-k" , "int32" ),
130
128
legacy_cmds = ("-k" , "int32" ),
131
129
passed = 1 ,
132
- skipped = 3 ,
130
+ skipped = 1 ,
133
131
),
134
132
Config (
135
133
"1testcase-*test-1dtype1" ,
136
134
new_cmds = ("::TestFoo" , "-k" , "float16" ),
137
135
legacy_cmds = ("-k" , "TestFoo and float16" ),
138
136
passed = 1 ,
139
137
failed = 1 ,
140
- skipped = 2 ,
141
138
),
142
139
Config (
143
140
"1testcase-*test-1dtype2" ,
144
141
new_cmds = ("::TestFoo" , "-k" , "int32" ),
145
142
legacy_cmds = ("-k" , "TestFoo and int32" ),
146
143
passed = 1 ,
147
- skipped = 3 ,
144
+ skipped = 1 ,
148
145
),
149
146
Config (
150
147
"1testcase-1test1-*dtype" ,
151
148
new_cmds = "::TestFoo::test_bar" ,
152
149
legacy_cmds = ("-k" , "TestFoo and test_bar" ),
153
150
passed = 1 ,
154
- skipped = 2 ,
155
151
failed = 1 ,
156
152
),
157
153
Config (
158
154
"1testcase-1test2-*dtype" ,
159
155
new_cmds = "::TestFoo::test_baz" ,
160
156
legacy_cmds = ("-k" , "TestFoo and test_baz" ),
161
157
passed = 1 ,
162
- skipped = 3 ,
158
+ skipped = 1 ,
163
159
),
164
160
Config (
165
161
"1testcase-1test-1dtype1" ,
166
162
new_cmds = ("::TestFoo::test_bar" , "-k" , "float16" ),
167
163
legacy_cmds = ("-k" , "TestFoo and test_bar and float16" ),
168
- skipped = 1 ,
169
164
failed = 1 ,
170
165
),
171
166
Config (
172
167
"1testcase-1test-1dtype2" ,
173
168
new_cmds = ("::TestFoo::test_bar" , "-k" , "int32" ),
174
169
legacy_cmds = ("-k" , "TestFoo and test_bar and int32" ),
175
170
passed = 1 ,
176
- skipped = 1 ,
177
171
),
178
172
)
179
173
def test_dtype (testdir , file , cmds , outcomes ):
0 commit comments