Skip to content

Commit

Permalink
Run scanner with -X switch
Browse files Browse the repository at this point in the history
  • Loading branch information
redLeR1st committed Jul 24, 2019
1 parent 9feeaeb commit dea7788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/run-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def analyze(scanner_version, project_folder, system, dst):
cmd = cwd + '/' + dst + '/sonar-scanner-%s-linux/bin/sonar-scanner' % scanner_version
common.run_cmd('chmod', ['-R', '+x', cwd + '/' + dst + '/sonar-scanner-%s-linux' % scanner_version])
os.chdir(project_folder)
common.run_cmd(cmd, ['--define', 'sonar.login=admin', '--define', 'sonar.password=admin'])
common.run_cmd(cmd, ['-X', '--define', 'sonar.login=admin', '--define', 'sonar.password=admin'])
os.chdir('..')

def recursive_analyze(scanner_version, root_of_the_projects, system, dst):
Expand Down

0 comments on commit dea7788

Please sign in to comment.