# -*- Python -*-
# Configuration file for the LLVM Integrated Tester.

import lit.formats
import os
import platform

helper_scripts_path = lit_config.params.get("test_helper_scripts_path")

config.name = "Delta"
config.test_format = lit.formats.ShTest()
config.suffixes = [".delta"]
config.excludes = ["inputs"]
config.test_source_root = os.path.dirname(__file__)
config.substitutions.append(("%delta", lit_config.params.get("delta_path")))
config.substitutions.append(("%FileCheck", lit_config.params.get("filecheck_path")))
config.substitutions.append(("not", lit_config.params.get("not_path")))
config.substitutions.append(("check_exit_status", "python '" + helper_scripts_path + "/check_exit_status'"))
config.substitutions.append(("check_matches_snapshot", "python '" + helper_scripts_path + "/check_matches_snapshot'"))
config.substitutions.append(("cat", "python '" + helper_scripts_path + "/cat'"))
config.substitutions.append(("true", "python '" + helper_scripts_path + "/true'"))
config.environment = os.environ

if platform.system() == "Windows":
	config.available_features.add("windows")

# -*- Python -*-
# Configuration file for the LLVM Integrated Tester.

import lit.formats
import os
import platform

helper_scripts_path = lit_config.params.get("test_helper_scripts_path")

config.name = "Delta"
config.test_format = lit.formats.ShTest()
config.suffixes = [".delta"]
config.excludes = ["inputs"]
config.test_source_root = os.path.dirname(__file__)
config.substitutions.append(("%delta", lit_config.params.get("delta_path")))
config.substitutions.append(("%FileCheck", lit_config.params.get("filecheck_path")))
config.substitutions.append(("not", lit_config.params.get("not_path")))
config.substitutions.append(("check_exit_status", "python '" + helper_scripts_path + "/check_exit_status'"))
config.substitutions.append(("check_matches_snapshot", "python '" + helper_scripts_path + "/check_matches_snapshot'"))
config.substitutions.append(("cat", "python '" + helper_scripts_path + "/cat'"))
config.substitutions.append(("true", "python '" + helper_scripts_path + "/true'"))
config.environment = os.environ
config.target_triple = ""

if platform.system() == "Windows":
	config.available_features.add("windows")

Fix "TestingConfig instance has no attribute 'target_triple'"
Fix "TestingConfig instance has no attribute 'target_triple'"
