Adding the no progress bar option to the tests

Summary: public Buck prints all the output at once and it doesn't look good. So we should not print the progress bar in the tests.

Reviewed By: jvillard

Differential Revision: D2631722

fb-gh-sync-id: 5460a70
master
Dulma Rodriguez 9 years ago committed by facebook-github-bot-1
parent f5ddb983fe
commit 0db83eb5dd

@ -7,6 +7,7 @@ clean_cmd = ' '.join(['rm', '-rf', out])
env_cmd = ' '.join(['export', 'INFER_REPORT_ASSERTION_FAILURE=1'])
infer_cmd = ' '.join([
'infer',
'--no-progress-bar',
'--no-filtering',
'-o', 'out',
'--testing_mode',

@ -20,6 +20,7 @@ classpath = ':'.join([('$(classpath ' + path + ')') for path in dependencies])
env_cmd = ' '.join(['export', 'INFER_REPORT_EXPENSIVE_CALLS=1'])
infer_cmd = ' '.join([
'infer',
'--no-progress-bar',
'--absolute-paths',
'-o', out,
'-a', 'checkers',

@ -24,6 +24,7 @@ classpath = ':'.join([('$(classpath ' + path + ')') for path in dependencies])
env_cmd = ' '.join(['export', 'ERADICATE_RETURN_OVER_ANNOTATED=1'])
infer_cmd = ' '.join([
'infer',
'--no-progress-bar',
'--absolute-paths',
'-o', out,
'-a', 'eradicate',

@ -14,6 +14,7 @@ stripped_suffix_files = map(lambda f: f.replace('.v1', ''), v1_files)
to_compile = ' '.join(stripped_suffix_files)
infer_cmd = ' '.join([
'infer',
'--no-progress-bar',
'-i',
'--changed-only',
'--absolute-paths',

@ -21,6 +21,7 @@ stripped_suffix_files = map(lambda f: f.replace('.v1', ''), v1_files)
to_compile = ' '.join(set(normal_files + stripped_suffix_files))
infer_cmd = ' '.join([
'infer',
'--no-progress-bar',
'-i',
'--changed-only',
'--absolute-paths',

@ -21,6 +21,7 @@ stripped_suffix_files = map(lambda f: f.replace('.v1', ''), v1_files)
to_compile = ' '.join(normal_files + stripped_suffix_files)
infer_cmd = ' '.join([
'infer',
'--no-progress-bar',
'-i',
'--absolute-paths',
'-o', out,

@ -12,6 +12,7 @@ out = 'out'
clean_cmd = ' '.join(['rm', '-rf', out])
infer_cmd = ' '.join([
'infer',
'--no-progress-bar',
'-i',
'--absolute-paths',
'-o', out,

@ -21,6 +21,7 @@ stripped_suffix_files = map(lambda f: f.replace('.v1', ''), v1_files)
to_compile = ' '.join(normal_files + stripped_suffix_files)
infer_cmd = ' '.join([
'infer',
'--no-progress-bar',
'-i',
'--absolute-paths',
'-o', out,

@ -23,6 +23,7 @@ def analysis_cmd(analyzer):
classpath = ':'.join([('$(classpath ' + path + ')') for path in dependencies])
infer_cmd = ' '.join([
'infer',
'--no-progress-bar',
'--absolute-paths',
'--no-filtering',
'-o', out,

@ -18,6 +18,7 @@ clean_cmd = ' '.join(['rm', '-rf', out])
classpath = ':'.join([('$(classpath ' + path + ')') for path in dependencies])
infer_cmd = ' '.join([
'infer',
'--no-progress-bar',
'--absolute-paths',
'-o', out,
'-a', 'tracing',

@ -105,6 +105,7 @@ public class InferRunner {
return new ImmutableList.Builder<String>()
.add("infer")
.add("--no-progress-bar")
.add("--no-filtering")
.addAll(args)
.add("-o")
@ -261,6 +262,7 @@ public class InferRunner {
.add(ml_buckets == null ? "all" : ml_buckets);
ImmutableList<String> inferCmd = new ImmutableList.Builder<String>()
.add("infer")
.add("--no-progress-bar")
.add("--no-filtering")
.add("--out")
.add(resultsDirName)

Loading…
Cancel
Save