Skip to content

Commit dd78edc

Browse files
committed
add double_test.list and suite_generator_sycl.pl to <suite>.xml to meet tmt verification rule.
1 parent bfbd876 commit dd78edc

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

llvm_test_suite_sycl.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Suite is autogenerated by suite_generator_sycl.pl that you can find in the root
55
Sources repo https://github.com/intel-innersource/applications.compilers.tests.llvm-project-llvm-test-suite
66
</description>
77
<files>
8+
<file path="suite_generator_sycl.pl" />
9+
<file path="double_test.list" />
810
<file path="cmake" />
911
<file path="tools" />
1012
<file path="CMakeLists.txt" />

llvm_test_suite_sycl_esimd.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Suite is autogenerated by suite_generator_sycl.pl that you can find in the root
55
Sources repo https://github.com/intel-innersource/applications.compilers.tests.llvm-project-llvm-test-suite
66
</description>
77
<files>
8+
<file path="suite_generator_sycl.pl" />
9+
<file path="double_test.list" />
810
<file path="cmake" />
911
<file path="tools" />
1012
<file path="CMakeLists.txt" />

llvm_test_suite_sycl_valgrind.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Suite is autogenerated by suite_generator_sycl.pl that you can find in the root
55
Sources repo https://github.com/intel-innersource/applications.compilers.tests.llvm-project-llvm-test-suite
66
</description>
77
<files>
8+
<file path="suite_generator_sycl.pl" />
9+
<file path="double_test.list" />
810
<file path="cmake" />
911
<file path="tools" />
1012
<file path="CMakeLists.txt" />

suite_generator_sycl.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ sub gen_suite
158158
if ($feature_folder eq "SYCL") {
159159
if ($subsuite ne "") {
160160
# For subsuite
161-
$xml->{files} = { file => [ { path => 'double_test.list'}, { path => 'cmake'}, { path => 'tools'}, { path => 'CMakeLists.txt'}, { path => 'litsupport'}, { path => 'lit.cfg'}, { path => 'lit.site.cfg.in'}, { path => 'SYCL/CMakeLists.txt', dst => 'SYCL/CMakeLists.txt'}, { path => 'SYCL/lit.cfg.py', dst => 'SYCL/lit.cfg.py'}, {path => 'SYCL/lit.site.cfg.py.in', dst => 'SYCL/lit.site.cfg.py.in'}, {path => 'SYCL/helpers.hpp', dst => 'SYCL/helpers.hpp'}, {path => 'SYCL/External/CMakeLists.txt', dst => 'SYCL/External/CMakeLists.txt'}, {path => 'SYCL/ExtraTests/CMakeLists.txt', dst => 'SYCL/ExtraTests/CMakeLists.txt'}, { path => "SYCL/${subsuite}", dst => "SYCL/${subsuite}"}, {path => 'SYCL/include', dst => 'SYCL/include'}, { path => '$INFO_TDRIVE/ref/lit'}, { path => $config_folder}, { path => '.github/CODEOWNERS'}]};
161+
$xml->{files} = { file => [ { path => 'suite_generator_sycl.pl'}, { path => 'double_test.list'}, { path => 'cmake'}, { path => 'tools'}, { path => 'CMakeLists.txt'}, { path => 'litsupport'}, { path => 'lit.cfg'}, { path => 'lit.site.cfg.in'}, { path => 'SYCL/CMakeLists.txt', dst => 'SYCL/CMakeLists.txt'}, { path => 'SYCL/lit.cfg.py', dst => 'SYCL/lit.cfg.py'}, {path => 'SYCL/lit.site.cfg.py.in', dst => 'SYCL/lit.site.cfg.py.in'}, {path => 'SYCL/helpers.hpp', dst => 'SYCL/helpers.hpp'}, {path => 'SYCL/External/CMakeLists.txt', dst => 'SYCL/External/CMakeLists.txt'}, {path => 'SYCL/ExtraTests/CMakeLists.txt', dst => 'SYCL/ExtraTests/CMakeLists.txt'}, { path => "SYCL/${subsuite}", dst => "SYCL/${subsuite}"}, {path => 'SYCL/include', dst => 'SYCL/include'}, { path => '$INFO_TDRIVE/ref/lit'}, { path => $config_folder}, { path => '.github/CODEOWNERS'}]};
162162
} else {
163163
$xml->{rules} = { advancedRule => [{ perfSupport => 'accurate'}]};
164-
$xml->{files} = { file => [ { path => 'double_test.list'}, { path => 'cmake'}, { path => 'tools'}, { path => 'CMakeLists.txt'}, { path => 'litsupport'}, { path => 'lit.cfg'}, { path => 'lit.site.cfg.in'}, { path => 'SYCL'}, { path => '$INFO_TDRIVE/ref/lit'}, { path => $config_folder}, { path => '.github/CODEOWNERS'}, { path => 'setenv.list'}]};
164+
$xml->{files} = { file => [ { path => 'suite_generator_sycl.pl'}, { path => 'double_test.list'}, { path => 'cmake'}, { path => 'tools'}, { path => 'CMakeLists.txt'}, { path => 'litsupport'}, { path => 'lit.cfg'}, { path => 'lit.site.cfg.in'}, { path => 'SYCL'}, { path => '$INFO_TDRIVE/ref/lit'}, { path => $config_folder}, { path => '.github/CODEOWNERS'}, { path => 'setenv.list'}]};
165165
}
166166
} else {
167167
if ($subsuite ne "") {

0 commit comments

Comments
 (0)