Commit Graph

588 Commits

Author SHA1 Message Date
Laszlo Nagy
e97094122f get rid of --cdb from scan-build argument list 2016-10-23 12:24:03 +11:00
Laszlo Nagy
1a08b31e77 use write instead of writelines when reporting failures 2016-10-23 12:09:05 +11:00
Laszlo Nagy
093843f9e3 update docs about platform 2016-10-23 00:59:09 +11:00
Laszlo Nagy
bc0797e62a fix test script shebang 2016-10-23 00:51:21 +11:00
Laszlo Nagy
ce8f8b04ad add functional test against ignore configure step 2016-10-23 00:31:53 +11:00
Laszlo Nagy
e2e65db975 cosmetic changes 2016-10-22 23:53:07 +11:00
Laszlo Nagy
80e133b15a create argument module for command line parsing and validation 2016-10-22 23:52:38 +11:00
Laszlo Nagy
7fc9bd65d7 bump up version number to 2.0 2016-10-22 20:29:33 +11:00
Laszlo Nagy
6cc221e33f update changelog pypi-1.3 2016-10-22 20:26:02 +11:00
Laszlo Nagy
ff617cf341 try to fix travis 2016-10-22 20:23:16 +11:00
Laszlo Nagy
c8ae4bfab2 add file format check 2016-10-22 20:23:16 +11:00
Laszlo Nagy
5255c4b40b failure report functional test added 2016-10-22 20:23:16 +11:00
Laszlo Nagy
321f9401f2 implement report directory functional tests 2016-10-22 20:23:16 +11:00
Laszlo Nagy
8b002ceead fix broken windows build 2016-10-22 20:23:16 +11:00
Laszlo Nagy
0d47da2cb6 remove not used test tools 2016-10-22 20:23:16 +11:00
Laszlo Nagy
765a38e2e0 removed complex test inputs 2016-10-22 20:23:16 +11:00
Laszlo Nagy
063f3f82da add exit code related functional tests 2016-10-22 20:23:16 +11:00
Laszlo Nagy
71f0e7f587 try to fix osx grep problem 2016-10-22 20:23:16 +11:00
Laszlo Nagy
186525ea0b add checker enable/disable functional tests 2016-10-22 20:23:16 +11:00
Laszlo Nagy
b0f43f02c5 add another analyzer functional test 2016-10-22 20:23:16 +11:00
Laszlo Nagy
9a33d8abc5 unify the command line parameter mapper functions in analyzer module 2016-10-22 20:23:16 +11:00
Laszlo Nagy
0e1d19e8b9 add test against exclude flag (and fix findings) 2016-10-22 20:23:16 +11:00
Laszlo Nagy
480d62981d add basic scan-build test 2016-10-22 20:23:16 +11:00
Laszlo Nagy
7041dd1a46 rewrite architecture test 2016-10-22 20:23:16 +11:00
Laszlo Nagy
93d6791a3e analyze debug code test case added 2016-10-22 20:23:16 +11:00
Laszlo Nagy
d8bc5abef2 few exit code test for intercept-build 2016-10-22 20:23:16 +11:00
Laszlo Nagy
42cdc14748 use separate test dir for intercept build 2016-10-22 20:23:16 +11:00
Laszlo Nagy
15e3bb86e4 fix #57 (platform check is done by lit.cfg and not individual tests) 2016-10-22 20:23:16 +11:00
Laszlo Nagy
f2656045ba add first analyzer test 2016-10-22 20:23:16 +11:00
Laszlo Nagy
b9b428bba1 set different exit codes for signals 2016-10-22 20:23:16 +11:00
Laszlo Nagy
b520ee05e2 Clang execution now write log before 2016-10-22 20:23:16 +11:00
Laszlo Nagy
349702cccf simplify analyzer run (use subprocess.check_output) 2016-10-22 20:23:16 +11:00
Laszlo Nagy
89d33f8aa3 fix travis-ci build for osx 2016-10-22 20:23:16 +11:00
Laszlo Nagy
cccd33a4a7 fix windows build 2016-10-22 20:23:16 +11:00
Laszlo Nagy
f051f566dc try to fix travis-ci build 2016-10-22 20:23:16 +11:00
Laszlo Nagy
b5f7b8300e windows: use console scripts for executables 2016-10-22 20:23:16 +11:00
Laszlo Nagy
00b6fa2de4 fix missing unit test invocation 2016-10-22 20:23:16 +11:00
Laszlo Nagy
8519af65ca draft first batch test 2016-10-22 20:23:16 +11:00
Laszlo Nagy
7d710f4f43 improve windows support on tests 2016-10-22 20:23:16 +11:00
Laszlo Nagy
7a1ccb5586 fixing os specific line/path separator issues 2016-10-22 20:23:16 +11:00
Laszlo Nagy
c1f4a1c9d5 add appveyor build 2016-10-22 20:23:16 +11:00
Laszlo Nagy
26350dfe8a extend travis-ci coverage with osx 2016-10-22 20:23:16 +11:00
Laszlo Nagy
c0bb4be2f1 run test by LLVM's lit 2016-10-22 20:23:16 +11:00
Gyorgy Orban
930dc3e964 Improve script exit codes
If the scripts --help command was called the default 127 exit code was
returned even if the call was successful. If any other module (like
calling help in the argparse module) throws a SystemExit exception
with the sys.exit() call the exit code was not set properly
because exception was not handled.
2016-10-16 22:42:14 +02:00
Laszlo Nagy
229243ef8a D24470: Remove relative path hack for SATestsBuild.py 2016-09-25 13:51:16 +10:00
Laszlo Nagy
754713b364 D24163: Increase precision of timestamp in report directory name 2016-09-07 20:20:25 +10:00
Laszlo Nagy
af6bd27d5d remove SELinux checks before libear usage 2016-09-06 21:38:48 +10:00
Laszlo Nagy
7a8f025cec apply pycharm code inspection suggestions 2016-09-06 21:29:42 +10:00
Laszlo Nagy
11470f26ff add support for intel, AIX, Solaris, HP C/C++ compiler 2016-09-03 12:05:01 +10:00
Laszlo Nagy
e02ef1cfdb add compiler wrapper support 2016-09-02 21:55:24 +10:00