Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add --vg-arg option to clang test runner. | Daniel Dunbar | 2009-09-04 | 3 | -3/+9 | |
| | | | | | | | | - Passes additional argument through to valgrind. Also, don't run valgrind with --leak-check=no by default. llvm-svn: 80981 | |||||
* | Whoops, did not mean to commit this | Anders Carlsson | 2009-08-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 79201 | |||||
* | Store the delete operator for delete expressions. | Anders Carlsson | 2009-08-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 79200 | |||||
* | lit: flush stdout in no-fancy-progress-bar mode as well. | Benjamin Kramer | 2009-08-14 | 1 | -0/+2 | |
| | | | | llvm-svn: 79056 | |||||
* | Pass '-Wno-' options to clang-cc. This fixes <rdar://problem/6943988>. | Ted Kremenek | 2009-08-14 | 1 | -2/+11 | |
| | | | | llvm-svn: 79011 | |||||
* | Add a simple tool for comparing two static analyzer runs, primarily for use from | Daniel Dunbar | 2009-08-06 | 1 | -0/+230 | |
| | | | | | | buildbot. llvm-svn: 78336 | |||||
* | Fix locating the 'lit.cfg' file when running on only a single file in the | Daniel Dunbar | 2009-08-06 | 1 | -1/+2 | |
| | | | | | | current directory. llvm-svn: 78271 | |||||
* | Renable "html" indexing by default. | Ted Kremenek | 2009-08-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 78077 | |||||
* | lit: Some sample tests, for testing the tester | Daniel Dunbar | 2009-08-04 | 5 | -0/+20 | |
| | | | | llvm-svn: 78050 | |||||
* | Recognize '-M' and '-MM' options. | Ted Kremenek | 2009-08-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 78027 | |||||
* | 'unlink' file directly instead of invoking system shell. | Ted Kremenek | 2009-08-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 78026 | |||||
* | Have scan-build clue off of 'BUGMETAEND' to know when to stop processing an ↵ | Ted Kremenek | 2009-08-03 | 1 | -8/+1 | |
| | | | | | | HTML file. llvm-svn: 78022 | |||||
* | lit: Don't treat '\' as an escape in unquoted strings, on Win32. This turns out | Daniel Dunbar | 2009-08-03 | 2 | -11/+12 | |
| | | | | | | to not be a very good idea. llvm-svn: 77957 | |||||
* | Include '-o' arguments in verbose output. | Ted Kremenek | 2009-08-02 | 1 | -11/+11 | |
| | | | | llvm-svn: 77881 | |||||
* | lit: Catch (internal) exceptions when using --no-sh. | Daniel Dunbar | 2009-08-01 | 1 | -12/+10 | |
| | | | | llvm-svn: 77830 | |||||
* | lit: Fix thinko in finding config file. | Daniel Dunbar | 2009-08-01 | 1 | -2/+2 | |
| | | | | llvm-svn: 77828 | |||||
* | lit: Add internal script execution. | Daniel Dunbar | 2009-08-01 | 3 | -6/+137 | |
| | | | | | | | | | | | | | | | | | | | | - Off by default, you can test it with the --no-sh argument. - For me it works for all but 3 tests, but there a number of FIXMEs and QOI issues: o Redirection isn't completely accurate -- in practice it can't portably be, but I would like to error out if someone writes something which isn't going to work. This is the source of the 3 test failures. o Some pipe configurations have the potential to deadlock. o It is significantly slower when multithreaded. I believe this is due to locking happening under the hood, there is probably some kind of solution but I haven't investigated yet. o Log output is ugly. llvm-svn: 77784 | |||||
* | lit: Two more sh lex/parse bugs (but its so simple!) | Daniel Dunbar | 2009-08-01 | 1 | -5/+20 | |
| | | | | | | | - Empty arguments weren't handled correctly. - Escapes outside quoted strings weren't handled. llvm-svn: 77783 | |||||
* | lit: Fix two sh lexing bugs. | Daniel Dunbar | 2009-08-01 | 1 | -4/+14 | |
| | | | | | | | - '\\\\' inside a "..." string becomes '\\'. - The '<' token wasn't being recognized. llvm-svn: 77777 | |||||
* | lit: Fix a name lookup problem, which only occurred on a race condition. This is | Daniel Dunbar | 2009-08-01 | 2 | -2/+1 | |
| | | | | | | why dynamic binding sucks. llvm-svn: 77773 | |||||
* | lit: Pull a few more variables into the TestingConfig object. | Daniel Dunbar | 2009-08-01 | 3 | -31/+19 | |
| | | | | llvm-svn: 77772 | |||||
* | lit: Don't use threads when only running one test, or with -j 1. | Daniel Dunbar | 2009-08-01 | 1 | -11/+23 | |
| | | | | llvm-svn: 77766 | |||||
* | MultiTestRunner: Add 'sh' parsing to ShUtil. | Daniel Dunbar | 2009-08-01 | 1 | -7/+246 | |
| | | | | llvm-svn: 77765 | |||||
* | MultiTestRunner: Fix invalid warning when pointing 'lit' directly at a test. | Daniel Dunbar | 2009-07-31 | 1 | -0/+1 | |
| | | | | llvm-svn: 77690 | |||||
* | MultiTestRunner: Add module for lexing 'sh' commands. | Daniel Dunbar | 2009-07-31 | 1 | -0/+126 | |
| | | | | llvm-svn: 77668 | |||||
* | MultiTestRunner: Simplify, cleanup, and rename! | Daniel Dunbar | 2009-07-31 | 4 | -188/+228 | |
| | | | | | | | | | | | | | | | | | | | | | - 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. :) llvm-svn: 77665 | |||||
* | Add scan-build option '-no-failure-reports' to supress the creation of a ↵ | Ted Kremenek | 2009-07-30 | 2 | -40/+54 | |
| | | | | | | 'failures' subdirectory that includes crash reports, preprocessed files, etc. llvm-svn: 77644 | |||||
* | MultiTestRunner: Stop printing XFAILs on every run, this doesn't really have any | Daniel Dunbar | 2009-07-30 | 1 | -2/+1 | |
| | | | | | | value. llvm-svn: 77566 | |||||
* | scan-build: Don't try to index plist-html output directories | Daniel Dunbar | 2009-07-29 | 1 | -5/+5 | |
| | | | | llvm-svn: 77465 | |||||
* | Make the Python TestRunner work for individual tests | Douglas Gregor | 2009-07-29 | 1 | -1/+5 | |
| | | | | llvm-svn: 77456 | |||||
* | MultiTestRunner: Reenable --vg option. | Daniel Dunbar | 2009-07-29 | 2 | -7/+16 | |
| | | | | | | | - Simplified from before and using --error-exitcode so failures show up as failures. llvm-svn: 77424 | |||||
* | Only generate preprocessed files during crashes using Clang, not GCC. | Ted Kremenek | 2009-07-28 | 1 | -8/+2 | |
| | | | | llvm-svn: 77281 | |||||
* | Add scan-build support for 'plist-html', a hybrid mode that supports the | Ted Kremenek | 2009-07-27 | 2 | -19/+26 | |
| | | | | | | | | creation of both HTML and plist files. Plist files are currently not generated using the same layout algorithm as just specifying '-plist', so this is mainly intended to help support automated runs of the analyzer. llvm-svn: 77263 | |||||
* | Tweak MultiTestRunner --path argument. | Daniel Dunbar | 2009-07-27 | 2 | -7/+11 | |
| | | | | | | | | - Accept multiple values instead of embedding separator. - Make sure this gets used when searching for 'clang' binary. - Switch makefiles to using --path to stay in sync with cmake. llvm-svn: 77234 | |||||
* | MultiTestRunner: Make sure to point at src dir, for out of tree builds. | Daniel Dunbar | 2009-07-25 | 1 | -31/+31 | |
| | | | | | | Factor out routine for executing the script commands. llvm-svn: 77075 | |||||
* | MultiTestRunner: Cleanup test execution & output. | Daniel Dunbar | 2009-07-25 | 2 | -121/+84 | |
| | | | | | | | | - Stop writing everything to files. - Make test output more standard. llvm-svn: 77074 | |||||
* | MultiTestRunner: Drop external script and DejaGNU compatibility options for now. | Daniel Dunbar | 2009-07-25 | 2 | -41/+6 | |
| | | | | | | - We don't use the former, and the latter doesn't actually work. llvm-svn: 77073 | |||||
* | MultiTestRunner: Disable valgrind support for now, I don't feel like maintaining | Daniel Dunbar | 2009-07-25 | 2 | -26/+5 | |
| | | | | | | it currently. llvm-svn: 77072 | |||||
* | MultiTestRunner/Win32: Add SYSTEMROOT to environment, replace '&&' in .bat | Daniel Dunbar | 2009-07-25 | 1 | -2/+8 | |
| | | | | | | files. llvm-svn: 77071 | |||||
* | Make having no RUN line a failure. | Daniel Dunbar | 2009-07-25 | 2 | -6/+3 | |
| | | | | | | | Doug, please look at decltype-crash and instantiate-function-1.mm, I'm not sure if they are actually testing the right thing / anything. llvm-svn: 77070 | |||||
* | Remove this Makefile, it is unused. | Daniel Dunbar | 2009-07-25 | 1 | -21/+0 | |
| | | | | llvm-svn: 77067 | |||||
* | MultiTestRunner: Oops, clang wasn't being substituted properly. This is why the | Daniel Dunbar | 2009-07-25 | 1 | -13/+15 | |
| | | | | | | | cxx-using-declaration test case started exhibiting different behavior. It still needs to be fixed, however... llvm-svn: 77066 | |||||
* | MultiTestRunner: Always use absolute path names for tests. | Daniel Dunbar | 2009-07-25 | 2 | -2/+4 | |
| | | | | | | Also, fix a function name I forgot to update. llvm-svn: 77064 | |||||
* | MultiTestRunner: Validate '&&' at the end of RUN lines. | Daniel Dunbar | 2009-07-25 | 1 | -10/+33 | |
| | | | | | | | | - This is just to normalize, these will go away soon hopefully. Added all the missing '&&'s that have crept in. :) llvm-svn: 77062 | |||||
* | MultiTestRunner: Explicitly define child environment, the only variable we need | Daniel Dunbar | 2009-07-25 | 1 | -5/+4 | |
| | | | | | | to import is the PATH. llvm-svn: 77061 | |||||
* | MultiTestRunner.py improvements. | Daniel Dunbar | 2009-07-25 | 2 | -8/+14 | |
| | | | | | | | - Tweak output directories for temp files, derive the temporary base from the test's parent directory name, and the test name (instead of the whole path). llvm-svn: 77059 | |||||
* | MultiTestRunner.py improvements. | Daniel Dunbar | 2009-07-25 | 1 | -8/+40 | |
| | | | | | | | | | | | | | - Not improved: the horribly lousy name. :) - Suppress stderr when capturing output. - Rewrite which() to do the right PATH search instead of being lazy and shelling out to 'which'. - On Windows, run scripts as batch files (via 'cmd /c ...'). llvm-svn: 77058 | |||||
* | Whoops, did not mean to check this in. | Anders Carlsson | 2009-07-25 | 1 | -2/+2 | |
| | | | | llvm-svn: 77022 | |||||
* | More work on the constant struct builder. We now try to layout all constant ↵ | Anders Carlsson | 2009-07-25 | 1 | -2/+2 | |
| | | | | | | structs but throw away the result. llvm-svn: 77021 | |||||
* | Enable the '-warn-security-syntactic' checker option by default. | Ted Kremenek | 2009-07-24 | 1 | -0/+1 | |
| | | | | llvm-svn: 76933 |