mirror of https://github.com/google/oss-fuzz.git
Fix failing unittest. (#8262)
This commit is contained in:
parent
01548ade02
commit
1749ae2b0f
|
@ -145,47 +145,6 @@
|
|||
],
|
||||
"id": "srcmap"
|
||||
},
|
||||
{
|
||||
"name": "gcr.io/cloud-builders/docker",
|
||||
"args": [
|
||||
"run",
|
||||
"--privileged",
|
||||
"linuxkit/binfmt:v0.8"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "gcr.io/cloud-builders/docker",
|
||||
"args": [
|
||||
"buildx",
|
||||
"create",
|
||||
"--name",
|
||||
"buildxbuilder"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "gcr.io/cloud-builders/docker",
|
||||
"args": [
|
||||
"buildx",
|
||||
"use",
|
||||
"buildxbuilder"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "gcr.io/cloud-builders/docker",
|
||||
"args": [
|
||||
"buildx",
|
||||
"build",
|
||||
"--platform",
|
||||
"linux/arm64",
|
||||
"--progress",
|
||||
"plain",
|
||||
"--load",
|
||||
"--tag",
|
||||
"gcr.io/oss-fuzz/skcms-aarch64",
|
||||
"."
|
||||
],
|
||||
"dir": "oss-fuzz/projects/skcms"
|
||||
},
|
||||
{
|
||||
"name": "gcr.io/cloud-builders/docker",
|
||||
"env": [
|
||||
|
@ -450,94 +409,6 @@
|
|||
"targets_list > /workspace/targets.list.address"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "gcr.io/cloud-builders/docker",
|
||||
"env": [
|
||||
"ARCHITECTURE=aarch64",
|
||||
"FUZZING_ENGINE=libfuzzer",
|
||||
"FUZZING_LANGUAGE=c++",
|
||||
"HOME=/root",
|
||||
"OUT=/workspace/out/libfuzzer-address-aarch64",
|
||||
"SANITIZER=address"
|
||||
],
|
||||
"args": [
|
||||
"run",
|
||||
"--platform",
|
||||
"linux/arm64",
|
||||
"-v",
|
||||
"/workspace:/workspace",
|
||||
"-e",
|
||||
"ARCHITECTURE=aarch64",
|
||||
"-e",
|
||||
"FUZZING_ENGINE=libfuzzer",
|
||||
"-e",
|
||||
"FUZZING_LANGUAGE=c++",
|
||||
"-e",
|
||||
"HOME=/root",
|
||||
"-e",
|
||||
"OUT=/workspace/out/libfuzzer-address-aarch64",
|
||||
"-e",
|
||||
"SANITIZER=address",
|
||||
"-t",
|
||||
"gcr.io/oss-fuzz/skcms-aarch64",
|
||||
"bash",
|
||||
"-c",
|
||||
"rm -r /out && cd /src && cd skcms && mkdir -p /workspace/out/libfuzzer-address-aarch64 && compile || (echo \"********************************************************************************\nFailed to build.\nTo reproduce, run:\npython infra/helper.py build_image skcms\npython infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture aarch64 skcms\n********************************************************************************\" && false)"
|
||||
],
|
||||
"id": "compile-libfuzzer-address-aarch64"
|
||||
},
|
||||
{
|
||||
"name": "gcr.io/cloud-builders/docker",
|
||||
"env": [
|
||||
"ARCHITECTURE=aarch64",
|
||||
"FUZZING_ENGINE=libfuzzer",
|
||||
"FUZZING_LANGUAGE=c++",
|
||||
"HOME=/root",
|
||||
"OUT=/workspace/out/libfuzzer-address-aarch64",
|
||||
"SANITIZER=address"
|
||||
],
|
||||
"args": [
|
||||
"run",
|
||||
"--platform",
|
||||
"linux/arm64",
|
||||
"-v",
|
||||
"/workspace:/workspace",
|
||||
"-e",
|
||||
"ARCHITECTURE=aarch64",
|
||||
"-e",
|
||||
"FUZZING_ENGINE=libfuzzer",
|
||||
"-e",
|
||||
"FUZZING_LANGUAGE=c++",
|
||||
"-e",
|
||||
"HOME=/root",
|
||||
"-e",
|
||||
"OUT=/workspace/out/libfuzzer-address-aarch64",
|
||||
"-e",
|
||||
"SANITIZER=address",
|
||||
"-t",
|
||||
"gcr.io/oss-fuzz-base/base-runner-testing-mybranch",
|
||||
"bash",
|
||||
"-c",
|
||||
"test_all.py || (echo \"********************************************************************************\nBuild checks failed.\nTo reproduce, run:\npython infra/helper.py build_image skcms\npython infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture aarch64 skcms\npython infra/helper.py check_build --sanitizer address --engine libfuzzer --architecture aarch64 skcms\n********************************************************************************\" && false)"
|
||||
],
|
||||
"id": "build-check-libfuzzer-address-aarch64"
|
||||
},
|
||||
{
|
||||
"name": "gcr.io/oss-fuzz-base/base-runner-testing-mybranch",
|
||||
"env": [
|
||||
"ARCHITECTURE=aarch64",
|
||||
"FUZZING_ENGINE=libfuzzer",
|
||||
"FUZZING_LANGUAGE=c++",
|
||||
"HOME=/root",
|
||||
"OUT=/workspace/out/libfuzzer-address-aarch64",
|
||||
"SANITIZER=address"
|
||||
],
|
||||
"args": [
|
||||
"bash",
|
||||
"-c",
|
||||
"targets_list > /workspace/targets.list.address"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "gcr.io/cloud-builders/docker",
|
||||
"env": [
|
||||
|
|
Loading…
Reference in New Issue