|
@@ -25,17 +25,15 @@ if llvm_obj_root is None:
|
|
lit_config.load_config(config, site_cfg)
|
|
lit_config.load_config(config, site_cfg)
|
|
raise SystemExit
|
|
raise SystemExit
|
|
|
|
|
|
-
|
|
|
|
-te = os.path.join(config.llvm_obj_root, "TAEF", config.arch, 'te.exe')
|
|
|
|
-
|
|
|
|
-test_dll = os.path.join(config.llvm_obj_root, config.build_mode, 'bin', 'ClangHLSLTests.dll')
|
|
|
|
-
|
|
|
|
-hlsl_data_dir = os.path.join(config.llvm_src_root, 'tools', 'clang', 'test', 'hlsl')
|
|
|
|
-
|
|
|
|
-test_dir = os.path.join(config.llvm_obj_root, config.build_mode, 'test')
|
|
|
|
-#projects\dxilconv\test
|
|
|
|
-config.test_format = lit.formats.TaefTest(te, test_dll, hlsl_data_dir, test_dir)
|
|
|
|
-
|
|
|
|
# TAEF only runs on Windows
|
|
# TAEF only runs on Windows
|
|
if platform.system() != 'Windows':
|
|
if platform.system() != 'Windows':
|
|
config.unsupported = True
|
|
config.unsupported = True
|
|
|
|
+else:
|
|
|
|
+ te = os.path.join(config.llvm_obj_root, "TAEF", config.arch, 'te.exe')
|
|
|
|
+
|
|
|
|
+ test_dll = os.path.join(config.llvm_obj_root, config.llvm_build_mode, 'bin', 'ClangHLSLTests.dll')
|
|
|
|
+
|
|
|
|
+ hlsl_data_dir = os.path.join(config.llvm_src_root, 'tools', 'clang', 'test', 'HLSL')
|
|
|
|
+
|
|
|
|
+ test_dir = os.path.join(config.llvm_obj_root, config.llvm_build_mode, 'test')
|
|
|
|
+ config.test_format = lit.formats.TaefTest(te, test_dll, hlsl_data_dir, test_dir)
|