diff options
author | fanquake <fanquake@gmail.com> | 2020-03-26 11:38:24 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-06-16 19:52:30 +0800 |
commit | 968aaae940b064f21eddee6bb461aa08f777544c (patch) | |
tree | 819379771f8e45169abf97c32be97829f5b9f90b /contrib | |
parent | 0afbeb73ccb7523794e1e4a3422607c4423d1048 (diff) |
tests: run test-security-check.py in CI
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/devtools/test-security-check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/devtools/test-security-check.py b/contrib/devtools/test-security-check.py index ea70b27941..3bb9357657 100755 --- a/contrib/devtools/test-security-check.py +++ b/contrib/devtools/test-security-check.py @@ -21,7 +21,7 @@ def write_testcode(filename): def call_security_check(cc, source, executable, options): subprocess.check_call([cc,source,'-o',executable] + options) - p = subprocess.Popen(['./security-check.py',executable], stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE, universal_newlines=True) + p = subprocess.Popen(['./contrib/devtools/security-check.py',executable], stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE, universal_newlines=True) (stdout, stderr) = p.communicate() return (p.returncode, stdout.rstrip()) |