summaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
Commit message (Collapse)AuthorAge
* test/CMakeLists.txt: Depend on llvm-objdump. "make check" is expected to ↵NAKAMURA Takumi2011-09-27
| | | | | | resolve test-dependent targets on CMake build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140641 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a CMake warning, following up to r134008.NAKAMURA Takumi2011-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134033 91177308-0d34-0410-b5e6-96231b3b80d8
* cmake: Our MSVC build does not support config-time build mode.Andrew Trick2011-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134008 91177308-0d34-0410-b5e6-96231b3b80d8
* cmake+lit: final cleanup related to the recent churnAndrew Trick2011-06-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133729 91177308-0d34-0410-b5e6-96231b3b80d8
* cmake+lit: handle ENABLE_ASSERTIONS feature properly.Andrew Trick2011-06-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133725 91177308-0d34-0410-b5e6-96231b3b80d8
* Only do config-time substitution of LLVM_BUILD_MODE inAndrew Trick2011-06-22
| | | | | | | test/lit.site.cfg, not Unit/test/lit.site.cfg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133608 91177308-0d34-0410-b5e6-96231b3b80d8
* Added LLVM_BUILD_MODE to cmake so that lit supports tests with REQUIRES: ↵Andrew Trick2011-06-16
| | | | | | {buildmode}. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133205 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compiler command line used by lit.py when working with NMakeOscar Fuentes2011-04-12
| | | | | | | | generators. It may improve robustness when testing from VS too. Based on a patch by David Neto! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129398 91177308-0d34-0410-b5e6-96231b3b80d8
* Put targets on folders, if the IDE supports the feature.Oscar Fuentes2011-02-20
| | | | | | Requires CMake 2.8.3 or newer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126092 91177308-0d34-0410-b5e6-96231b3b80d8
* macho-dump: Fix CMake build, following up to r121466.NAKAMURA Takumi2010-12-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121476 91177308-0d34-0410-b5e6-96231b3b80d8
* Add dependency to "make check".NAKAMURA Takumi2010-12-10
| | | | | | cmake/modules/AddLLVM.cmake: Add empty "phony" target in add_llvm_loadable_module() even if loadable module were not supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121455 91177308-0d34-0410-b5e6-96231b3b80d8
* test: Use $SharedLibDir for loadable modules. On Cygming, loadable modules ↵NAKAMURA Takumi2010-11-29
| | | | | | are not in lib/ but bin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120274 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: lit(check.vcproj) can run with multiple configurations on Visual Studio.NAKAMURA Takumi2010-11-27
| | | | | | | | Unittests need LLVM_BUILD_MODE to pick up each test. Confirmed on CentOS5, Mingw, MSYS, and with possible configurations on VS8 and VS10. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120212 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Add the new option "LLVM_LIT_ARGS".NAKAMURA Takumi2010-11-11
| | | | | | | | Defaults: if (MSVC OR XCODE): "-sv --no-progress-bar" else: "-sv" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118776 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Build unittests.Michael J. Spencer2010-09-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114725 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix whitespace.Michael J. Spencer2010-09-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114724 91177308-0d34-0410-b5e6-96231b3b80d8
* tests/CMakeLists.txt: use `configure_file' instead of `sed'.Oscar Fuentes2010-09-17
| | | | | | The Windows users will appreciate this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114158 91177308-0d34-0410-b5e6-96231b3b80d8
* Test: Fix LLVMC tests on CMake.Michael J. Spencer2010-08-30
| | | | | | The CMake build didn't define TEST_COMPILE_CXX_CMD. The tests assumed gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112480 91177308-0d34-0410-b5e6-96231b3b80d8
* tests: Propogate LLVM_SRC_ROOT and PYTHON_EXECUTABLE environment variables ↵Daniel Dunbar2010-06-12
| | | | | | to tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105890 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix make check with cmake/litTobias Grosser2010-03-10
| | | | | | | | PR6540: Set the newly introduced variables ENABLE_SHARED and SHLIBPATH_VAR in lit.site.cfg not only in the autoconf build, but also in a cmake one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98171 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake/lit: Add llvm_{unit_,}site_config parameters, and always pass them ↵Daniel Dunbar2009-12-08
| | | | | | when running tests from the project files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90869 91177308-0d34-0410-b5e6-96231b3b80d8
* Two small fixes for site.exp for cmake.Daniel Dunbar2009-11-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86453 91177308-0d34-0410-b5e6-96231b3b80d8
* Derive the right paths to use during testing instead of passing it in via make.Daniel Dunbar2009-11-08
| | | | | | | | Also, fix a few other details of the cmake test target and rename it to 'check'. CMake tests now work for the most part, but there are a handful of failures left due to missing site.exp bits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86452 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch to using 'lit.site.cfg.in' for the site config template for Unit tests,Daniel Dunbar2009-11-08
| | | | | | and generate it for CMake builds as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86451 91177308-0d34-0410-b5e6-96231b3b80d8
* Stop running get_target_triple more than we need to.Daniel Dunbar2009-11-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86418 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial support for running LLVM tests from cmake.Daniel Dunbar2009-09-22
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82534 91177308-0d34-0410-b5e6-96231b3b80d8