aboutsummaryrefslogtreecommitdiff
path: root/infra/test_repos.py
diff options
context:
space:
mode:
authorLeo Neat <leosneat@gmail.com>2020-02-06 15:35:42 -0800
committerGitHub <noreply@github.com>2020-02-06 15:35:42 -0800
commitb96d2186aec635d2724f4a5b2d428732e37bede8 (patch)
tree7d7c50374d004435be116b39a17400465bdcd97d /infra/test_repos.py
parent460661c700810265e25dd7140697463c4cd3dfcf (diff)
downloadoss-fuzz-b96d2186aec635d2724f4a5b2d428732e37bede8.tar.gz
[CIFuzz] Go support (#3352)
* Add go support to detecting the main repo * Go support test update * Format * Format * Removing debug statment * Format
Diffstat (limited to 'infra/test_repos.py')
-rw-r--r--infra/test_repos.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/infra/test_repos.py b/infra/test_repos.py
index 708c95952..09e6937f4 100644
--- a/infra/test_repos.py
+++ b/infra/test_repos.py
@@ -25,8 +25,9 @@ import collections
import os
ExampleRepo = collections.namedtuple('ExampleRepo', [
- 'project_name', 'oss_repo_name', 'git_repo_name', 'git_url', 'new_commit',
- 'old_commit', 'intro_commit', 'fuzz_target', 'test_case_path'
+ 'project_name', 'oss_repo_name', 'git_repo_name', 'image_location',
+ 'git_url', 'new_commit', 'old_commit', 'intro_commit', 'fuzz_target',
+ 'test_case_path'
])
TEST_DIR_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)),
@@ -38,6 +39,7 @@ TEST_REPOS = [
ExampleRepo(project_name='usrsctp',
oss_repo_name='usrsctp',
git_repo_name='usrsctp',
+ image_location='/src',
git_url='https://github.com/weinrank/usrsctp',
old_commit='4886aaa49fb90e479226fcfc3241d74208908232',
new_commit='c710749b1053978179a027973a3ea3bccf20ee5c',
@@ -48,6 +50,7 @@ TEST_REPOS = [
ExampleRepo(project_name='curl',
oss_repo_name='curl',
git_repo_name='curl',
+ image_location='/src',
git_url='https://github.com/curl/curl.git',
old_commit='df26f5f9c36e19cd503c0e462e9f72ad37b84c82',
new_commit='dda418266c99ceab368d723facb52069cbb9c8d5',
@@ -57,6 +60,7 @@ TEST_REPOS = [
ExampleRepo(project_name='libarchive',
oss_repo_name='libarchive',
git_repo_name='libarchive',
+ image_location='/src',
git_url='https://github.com/libarchive/libarchive.git',
old_commit='5bd2a9b6658a3a6efa20bb9ad75bd39a44d71da6',
new_commit='458e49358f17ec58d65ab1c45cf299baaf3c98d1',
@@ -67,6 +71,7 @@ TEST_REPOS = [
ExampleRepo(project_name='gonids',
oss_repo_name='gonids',
git_repo_name='gonids',
+ image_location='/root/go/src/github.com/google/',
git_url='https://github.com/google/gonids',
old_commit='',
new_commit='',
@@ -79,6 +84,7 @@ INVALID_REPO = ExampleRepo(project_name='notaproj',
oss_repo_name='notarepo',
git_repo_name='notarepo',
git_url='invalid.git',
+ image_location='/src',
old_commit='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
new_commit='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
intro_commit='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',