Files
clang-p2996/llgo/test/lit.cfg
Peter Collingbourne 6725a83e84 Introduce llgoi, a REPL for Go
llgoi is a Go REPL based on llgo irgen and the LLVM JIT. It supports
expressions, statements, most declarations and imports, including binary
imports from the standard library and source imports from $GOPATH.

Differential Revision: http://reviews.llvm.org/D6957

llvm-svn: 226097
2015-01-15 04:13:29 +00:00

17 lines
724 B
INI

import lit.formats
import os
import sys
config.name = 'llgo'
config.suffixes = ['.go', '.test']
config.test_format = lit.formats.ShTest()
config.test_source_root = config.llvm_src_root + '/tools/llgo/test'
config.test_exec_root = config.llvm_obj_root + '/tools/llgo/test'
config.excludes = ['Inputs']
config.substitutions.append((r"\bllgo\b", config.llvm_obj_root + '/bin/llgo -static-libgo'))
config.substitutions.append((r"\bllgoi\b", config.llvm_obj_root + '/bin/llgoi'))
config.substitutions.append((r"\bFileCheck\b", config.llvm_obj_root + '/bin/FileCheck'))
config.substitutions.append((r"\bcount\b", config.llvm_obj_root + '/bin/count'))
config.substitutions.append((r"\bnot\b", config.llvm_obj_root + '/bin/not'))