mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
@@ -341,6 +341,26 @@ macro(add_decompilation_pipeline_test CATEGORY INPUT_FILE CONFIGURATION OUTPUT T
|
||||
endmacro()
|
||||
|
||||
|
||||
# Decompilation torture tests
|
||||
macro(artifact_handler CATEGORY INPUT_FILE CONFIGURATION OUTPUT TARGET_NAME)
|
||||
|
||||
if (EXISTS ${INPUT_FILE})
|
||||
add_decompilation_pipeline_test(${CATEGORY}
|
||||
${INPUT_FILE}
|
||||
${CONFIGURATION}
|
||||
${OUTPUT}
|
||||
${TARGET_NAME})
|
||||
endif()
|
||||
|
||||
endmacro()
|
||||
|
||||
register_derived_artifact("abi-enforced-for-decompilation-torture" # FROM_ARTIFACTS: input artifacts
|
||||
"revng-c-passes-torture" # NAME: name of the new aritfact
|
||||
"" # SUFFIX: extension of output file
|
||||
"FILE" # TYPE: "FILE" or "DIRECTORY"
|
||||
)
|
||||
|
||||
|
||||
# Decompilation tests
|
||||
macro(artifact_handler CATEGORY INPUT_FILE CONFIGURATION OUTPUT TARGET_NAME)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user