Skip to content

Commit fd36f8f

Browse files
authored
[SYCLomatic #1540] Enable check-windows-version. (#566)
Signed-off-by: Tang, Jiajun [email protected]
1 parent 9f29f4c commit fd36f8f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

behavior_tests/behavior_tests.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
<test testName="change-filename-extension" configFile="config/TEMPLATE_behavior_tests.xml" />
138138
<test testName="helper_function_preference_no_queue_device" configFile="config/TEMPLATE_behavior_tests.xml" />
139139
<test testName="check-device-unsupport-aspect" configFile="config/TEMPLATE_behavior_tests.xml" />
140-
<!-- <test testName="check-windows-version" configFile="config/TEMPLATE_behavior_tests_win.xml" /> -->
140+
<test testName="check-windows-version" configFile="config/TEMPLATE_behavior_tests_win.xml" />
141141
<test testName="query-api-mapping" configFile="config/TEMPLATE_behavior_tests_after_11.5.xml" />
142142
<test testName="query-api-mapping-linux" configFile="config/TEMPLATE_behavior_tests_lin.xml" />
143143
<test testName="query-api-mapping-linux-after10.2" configFile="config/TEMPLATE_behavior_tests_lin_after_10.2.xml" />

behavior_tests/src/check-windows-version/do_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ def migrate_test():
3333
return False
3434
print("dpct's bundled clang version is: {}".format(ct_clang_version))
3535

36+
ct_clang_version = ct_clang_version + "git"
37+
3638
file_version = get_windows_version(ct_path, 'FileVersion').strip()
3739
product_version = get_windows_version(ct_path, 'ProductVersion').strip()
3840
product_name = get_windows_version(ct_path, 'ProductName').strip()

0 commit comments

Comments
 (0)