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'