]> granicus.if.org Git - clang/commit
[lit] Fix Analysis test format pickling error
authorReid Kleckner <rnk@google.com>
Wed, 5 Apr 2017 18:56:48 +0000 (18:56 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 5 Apr 2017 18:56:48 +0000 (18:56 +0000)
commit1c37f8139be422c09abdf94e076fcecf4c418c00
treeec4fd00c0335da7f1130adbcd573b9700352bfd4
parentbbbe98c73ada0930e2c55544a023350b1e4822e8
[lit] Fix Analysis test format pickling error

Move the test format into a standalone .py file and add it to the site
module search path. This allows us to run the test on Windows, and it
makes it compatible with the multiprocessing.Pool lit test execution
strategy.

I think this test was only passing everywhere else because
multiprocessing uses 'fork' to spawn workers, so the test format never
needs to be pickled.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299577 91177308-0d34-0410-b5e6-96231b3b80d8
test/Analysis/analyzer_test.py [new file with mode: 0644]
test/Analysis/lit.local.cfg