Skip to content

Commit a2f0003

Browse files
authored
[SYCL] Add test for sycl-ls (#7235)
1 parent 8daaa77 commit a2f0003

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

sycl/test/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
config.test_format = lit.formats.ShTest()
2525

2626
# suffixes: A list of file extensions to treat as test files.
27-
config.suffixes = ['.c', '.cpp', '.dump'] #add .spv. Currently not clear what to do with those
27+
config.suffixes = ['.c', '.cpp', '.dump', '.test'] #add .spv. Currently not clear what to do with those
2828

2929
# feature tests are considered not so lightweight, so, they are excluded by default
3030
config.excludes = ['Inputs', 'feature-tests']

sycl/test/tools/sycl-ls.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-- Check that sycl-ls exits with 0 exit code.
2+
3+
RUN: sycl-ls --verbose

0 commit comments

Comments
 (0)