Revert "Drop torture tests"

This reverts commit e65b313e5e.
This commit is contained in:
Pietro Fezzardi
2022-02-11 16:53:20 +01:00
parent d02a3f3d7d
commit f2fcf93aea
+20
View File
@@ -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)