mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 06:22:25 +00:00
Add reporting of generated assembler changes.
This commit is contained in:
parent
b3e2c5f9a6
commit
4bbfe120c7
2 changed files with 31 additions and 14 deletions
|
|
@ -11,8 +11,9 @@ then egrep '^[0-9 ]{4} ([0-9a-f]{4}| ) [0-9A-F]{2}[0-9A-F ]{6}' new.asm|cut -
|
|||
|
||||
if [ -f old.$FLAVOUR.s ]
|
||||
then
|
||||
if ! diff -b old.$FLAVOUR.s new.$FLAVOUR.s
|
||||
then echo "--- Generated code changed ---"
|
||||
if diff -b old.$FLAVOUR.s new.$FLAVOUR.s
|
||||
then echo "--- Generated code unchanged ---"
|
||||
else echo "--- Generated code changed ---"
|
||||
fi
|
||||
else
|
||||
cp new.$FLAVOUR.s old.$FLAVOUR.s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue