GH-51090: [CI][C++] Fix shellcheck errors in cpp/build-support/fuzzing/generate_corpuses.sh - #51091
GH-51090: [CI][C++] Fix shellcheck errors in cpp/build-support/fuzzing/generate_corpuses.sh#51091hiroyuki-sato wants to merge 7 commits into
Conversation
|
|
|
@github-actions crossbow submit test-build-cpp-fuzz |
|
Revision: 534ce6f Submitted crossbow builds: ursacomputing/crossbow @ actions-08167fab61
|
|
It looks like if [ "${ARROW_FUZZING}" == "ON" ]; then
# .. snip
# 1. Generate seed corpuses
# For IPC fuzz targets, these will include the golden IPC integration files.
"${source_dir}/build-support/fuzzing/generate_corpuses.sh" "${binary_output_dir}"
cpp/CMakePresets.json {
"name": "fuzzing",
"inherits": [
"sanitizer-asan",
"sanitizer-ubsan",
"base"
],
"displayName": "Debug build with IPC and Parquet fuzzing targets",
"cacheVariables": {
"ARROW_CSV": "ON",
"ARROW_DEPENDENCY_SOURCE": "BUNDLED",
"ARROW_FUZZING": "ON",ubuntu-cpp-sanitizer |
|
It seems that we have a document for it: https://arrow.apache.org/docs/developers/cpp/fuzzing.html
|
|
@kou Thanks. Does this mean I need to run Archery on my local machine instead of in CI? |
|
Yes if you verify it on local. AMD64 Ubuntu 24.04 C++ ASAN UBSAN also uses it: https://github.com/apache/arrow/actions/runs/33349187376/job/99359104165?pr=51091#step:8:4543 |
|
@kou Thanks. Oh, I didn't know that |
…fuzzing/generate_corpuses.sh
…fuzzing/generate_corpuses.sh
534ce6f to
50a51e3
Compare
|
@kou Could you take a look when you get a chacne? I think the two CI failures are unrelated to this PR. |
|
I forgot that macOS uses Bash 3.2, which doesn't support the |
Rationale for this change
This is the sub issue #44748.
What changes are included in this PR?
Are these changes tested?
Yes.
Are there any user-facing changes?
No.