Skip to content

Commit 9a9f438

Browse files
authored
Update test_xcpp_kernel.py
1 parent dc63b94 commit 9a9f438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_xcpp_kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def test_xcpp_omp(self):
267267
kernel_names = ['xcpp17-omp', 'xcpp20-omp', 'xcpp23-omp', 'xc11-omp', 'xc17-omp', 'xc23-omp']
268268

269269
for name in kernel_names:
270-
if 'xcpp' in name:
270+
if name.startswith('xcpp'):
271271
language_name = 'C++'
272272
else:
273273
language_name = 'c'

0 commit comments

Comments
 (0)