Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
Daniel Dunbar 9e10cc7a4c Add the lib path to LD_LIBRARY_PATH, so finding .so works (more) portably.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82853 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-26 07:36:09 +00:00
Daniel Dunbar ee45d6dc89 We no longer need anything from the llvm/test/Scripts dir.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82687 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-24 06:31:08 +00:00
Daniel Dunbar b850ddd2ce Always execute tests internally on Windows.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82542 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-22 10:08:03 +00:00
Daniel Dunbar 5e01e3cae6 Remove old test runner, this has moved to LLVM/utils/lit and all known clients
have been updated.
 - Please let me know of any problems.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82524 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-22 05:16:02 +00:00
Daniel Dunbar 1b720a90f2 Include LLVM {src,obj} root in lit.site.cfg, to support non-standard layouts.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82401 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-20 19:04:35 +00:00
Daniel Dunbar 7af18d359f Tweak clang testing.
- Move CMake to using the new test runner.

 - Switch Makefiles to use the lit.site.cfg.in template.

 - Remove explicit --path arguments, instead this gets written into the site
   configuration. This means running lit from the command line should use the
   exact same configuration as is used in 'make test', assuming it can find the
   site configuration file. You still need to run 'make test' (or the cmake
   build target equivalent) at least once.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82160 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-17 19:55:53 +00:00
Daniel Dunbar 280aa75eb0 tests: Stash clang/clang-cc and LLVM src/obj paths for use elsewhere.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81989 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-16 01:39:52 +00:00
Daniel Dunbar 58033318b1 Teach LIT2 how to run Clang tests in the objdir for srcdir != objdir builds.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81472 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-10 23:00:15 +00:00
Daniel Dunbar 724827ff93 Support running tests using the new 'lit', via 'make test LIT2=1'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81225 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-08 16:39:23 +00:00
Daniel Dunbar 6827f3ff9f lit: Set requireAndAnd config variable (currently unused).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81099 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-06 01:31:12 +00:00
Daniel Dunbar c1e1d7c9b3 Add missing test suffixes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77666 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-31 05:57:11 +00:00
Daniel Dunbar 1db467f120 MultiTestRunner: Simplify, cleanup, and rename!
- MultiTestRunner will eventually be renamed to 'lit', for LLVM integrated
   tester/testing. This has the pros of being pronouncable and short.

 - "Project" level configuration lives in 'lit.cfg', which is also what lit uses
   to find the root testing directory in some cases. This can be overridden for
   use in project files which want to precisely specify where things are.

 - TestRunner.py is not longer able to be invoked directly.
 
 - Moved some code to Util.py.

 - Introduced a configuration object.

 - Cleaned up --help, removed a few not-very-useful options.

 - Tried not to break anything that works. :)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77665 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-31 05:54:17 +00:00