mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
tests: adopt emit-c over decompile
This commit is contained in:
@@ -20,9 +20,9 @@ commands:
|
||||
command: |-
|
||||
revng artifact --resume "$OUTPUT" --analyze emit-c "$INPUT" -o /dev/null
|
||||
- # Perform checks on the model
|
||||
type: revng.legacy.decompile-to-single-file.model-check
|
||||
type: revng.emit-c.model-check
|
||||
from:
|
||||
- type: revng.legacy.decompile-to-single-file
|
||||
- type: revng.emit-c
|
||||
command: |-
|
||||
revng model compare "${SOURCE}".model.yml "$INPUT/context/model.yml"
|
||||
- # Check well-formedness of decompiled C
|
||||
|
||||
@@ -17,7 +17,7 @@ commands:
|
||||
"${ABI_NAME}"
|
||||
"${OUTPUT}/imported_binary.yml"
|
||||
"${OUTPUT}/reference_binary.yml";
|
||||
revng artifact decompile-to-single-file "${INPUT}/functions"
|
||||
revng artifact emit-c-as-single-file "${INPUT}/functions"
|
||||
-m="${OUTPUT}/reference_binary.yml"
|
||||
--resume="${OUTPUT}/resume"
|
||||
-o="${OUTPUT}/decompiled.c.ptml";
|
||||
|
||||
Reference in New Issue
Block a user