Chromium Code Reviews| Index: Makefile.standalone |
| diff --git a/Makefile.standalone b/Makefile.standalone |
| index a91798587862156cd66aebf3f98f2b5ceaab3307..c820f8f4d9741e9532c12e8798f5458e38b5b0f9 100644 |
| --- a/Makefile.standalone |
| +++ b/Makefile.standalone |
| @@ -33,6 +33,9 @@ PNACL_TOOLCHAIN_ROOT ?= $(shell readlink -e $(TOOLCHAIN_ROOT)/pnacl_newlib_raw) |
| # The location of PNaCl tools (e.g., binutils objdump, pnacl-clang++, etc.). |
| PNACL_BIN_PATH ?= $(shell readlink -e $(PNACL_TOOLCHAIN_ROOT)/bin) |
| +# Allow tests_lit to be overidden |
| +TESTS_LIT ?= tests_lit |
|
Jim Stichnoth
2016/01/15 19:20:58
Currently lit is used two situations:
1. "make ch
|
| + |
| # Hack to auto-detect autoconf versus cmake build of LLVM. If the LLVM tools |
| # were dynamically linked with something like libLLVM-3.7svn.so, it is an |
| # autoconf build, otherwise it is a cmake build. AUTOCONF is set to 0 for |
| @@ -415,7 +418,7 @@ runtime.is.built: $(RT_SRC) pydir/build-runtime.py |
| check-lit: $(OBJDIR)/pnacl-sz make_symlink |
| PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ |
| - $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit \ |
| + $(LLVM_SRC_PATH)/utils/lit/lit.py -sv $(TESTS_LIT) \ |
| $(FORCEASM_LIT_TEST_EXCLUDES) $(FORCEASM_LIT_PARAM) |
| ifdef MINIMAL |