mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-04 00:06:50 +00:00
000c496f65
Thanks to Clemens (hammacher@cs.uni-saarland.de) extension of the arcanist unit test engine, we can run the llvm-lit tests automatically. Similar to the linters, aracanist will run all tests for each uploaded commit and asks the commiter for a statements in case unit tests fail. To use this feature the unit test engine needs to find the polly build directory. Currently we support the following setups: $POLLY_BUILD_DIR (environment variable) <root>/build <root>.build <root>-build <root:s/src/build> <cwd> llvm-svn: 217396
12 lines
374 B
JSON
12 lines
374 B
JSON
{
|
|
"project_id" : "polly",
|
|
"conduit_uri" : "http://reviews.llvm.org/",
|
|
"history.immutable" : true,
|
|
"linter.scriptandregex.script": "sh -c './utils/check_format.sh \"$0\" 2> /dev/null || true'",
|
|
"linter.scriptandregex.regex": "/^(OK:(?P<ignore>.+)|Error:) (?P<message>.+)$/m",
|
|
"load" : [
|
|
"utils/arcanist/LitTestEngine"
|
|
],
|
|
"unit.engine" : "LitTestEngine"
|
|
}
|