mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
import-from-c: fail on unexpected successes
This commit is contained in:
committed by
Pietro Fezzardi
parent
1609bbe745
commit
2a97323232
@@ -83,6 +83,12 @@ commands:
|
||||
|
||||
if [[ "$$EXIT_CODE" -eq 0 ]]; then
|
||||
|
||||
if ! [[ -e "${INPUT}/check-against.yml" ]]; then
|
||||
echo "import-from-c succeeded, but an error was expected, stderr:";
|
||||
cat "${OUTPUT}/model.yml";
|
||||
exit 1;
|
||||
fi;
|
||||
|
||||
revng model compare "${INPUT}/check-against.yml" "${OUTPUT}/model.yml";
|
||||
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user