blob: f6c20f8c48bdaf09ea0cca688e20248e2cfd6b7c [file] [log] [blame]
import os
config.name = 'safecode-cstdlib'
config.test_format = lit.formats.ShTest()
config.suffixes = ['.c', '.ll']
config.target_triple = os.getenv('TARGET_TRIPLE')
config.test_source_root = os.path.dirname(__file__)
sc_obj_root = os.getenv('SC_OBJ_ROOT')
if sc_obj_root is not None:
config.test_exec_root = sc_obj_root + '/test/cstdlib'