File tree Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 148
148
<test testName =" bt-analysis-scope-path3" configFile =" config/TEMPLATE_behavior_tests.xml" />
149
149
<test testName =" bt-analysis-scope-path4" configFile =" config/TEMPLATE_behavior_tests.xml" />
150
150
<test testName =" ngt-analysis-scope-path1" configFile =" config/TEMPLATE_behavior_tests.xml" />
151
+ <test testName =" ngt-use-dpcpp-extensions" configFile =" config/TEMPLATE_behavior_tests.xml" />
151
152
<test testName =" bt-check-install-files" configFile =" config/TEMPLATE_behavior_tests.xml" />
152
153
<test testName =" bt-deprecate-custom-helper" configFile =" config/TEMPLATE_behavior_tests.xml" />
153
154
<test testName =" bt-check-c2s" configFile =" config/TEMPLATE_behavior_tests.xml" />
Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ def migrate_test():
147
147
'--suppress-warnings-all\n ' + \
148
148
'--sycl-named-lambda\n ' + \
149
149
'--use-custom-helper=\n ' + \
150
+ '--use-dpcpp-extensions=\n ' + \
150
151
'--use-experimental-features=\n ' + \
151
152
'--use-explicit-namespace=\n ' + \
152
153
'--usm-level=\n ' + \
Original file line number Diff line number Diff line change
1
+ # ====------ do_test.py---------- *- Python -* ----------------------------===#
2
+ #
3
+ # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
+ # See https://llvm.org/LICENSE.txt for license information.
5
+ # SPDX-License-Identifier: Apache-2.0 WITH LLV
C23B
M-exception
6
+ #
7
+ # ===----------------------------------------------------------------------===#
8
+ import subprocess
9
+ import platform
10
+ import os
11
+ import sys
12
+ from test_config import CT_TOOL
13
+
14
+ from test_utils import *
15
+
16
+ def setup_test ():
17
+ change_dir (test_config .current_test )
18
+ return True
19
+
20
+ def migrate_test ():
21
+
22
+ call_subprocess (test_config .CT_TOOL + " --cuda-include-path=" + test_config .include_path +
23
+ " --use-dpcpp-extensions=abc" )
24
+ return is_sub_string ("Cannot find option named 'abc'" , test_config .command_output )
25
+
26
+ def build_test ():
27
+ return True
28
+
29
+ def run_test ():
30
+ return True
You can’t perform that action at this time.
0 commit comments