File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -430,7 +430,10 @@ functions:
430430 script : |-
431431 if ls crash-*> /dev/null 2>&1; then
432432 echo "Found crash file"
433+ #Rename the crash file and the realm file.
434+ #If there is a crash, this will signal that something needs to be uploaded.
433435 mv crash-* realm-fuzzer-crash.txt
436+ mv fuzz-realm.realm fuzzer_realm.realm
434437 fi
435438
436439 - command : s3.put
@@ -443,14 +446,29 @@ functions:
443446 bucket : mciuploads
444447 permissions : public-read
445448 content_type : text/plain
446- display_name : Fuzzer crash report
449+ display_name : Crash input file
450+ optional : true
451+
452+ - command : s3.put
453+ params :
454+ working_dir : realm-core/build/test/realm-fuzzer
455+ aws_key : ' ${artifacts_aws_access_key}'
456+ aws_secret : ' ${artifacts_aws_secret_key}'
457+ local_file : ' realm-core/build/test/realm-fuzzer/fuzzer_realm.realm'
458+ remote_file : ' ${project}/${branch_name}/${task_id}/${execution}/fuzzer_realm.realm'
459+ bucket : mciuploads
460+ permissions : public-read
461+ content_type : application/x-binary
462+ display_name : Realm File
447463 optional : true
448464
449465 - command : shell.exec
450466 params :
451467 working_dir : realm-core/build/test/realm-fuzzer
452468 script : |-
469+ #remove the crash file and the realm produced by the fuzzer run
453470 rm realm-fuzzer-crash.txt
471+ rm fuzzer_realm.realm
454472
455473 " run hang analyzer " :
456474 - command : shell.exec
You can’t perform that action at this time.
0 commit comments