ref: dda3a066be61d1fdacaa2f05ce43907b04b3b9a0
dir: /test/link/test.sh/
otemp=$(mktemp) gbtemp=$(mktemp) gbtemp2=$(mktemp) outtemp=$(mktemp) RGBASM=../../rgbasm RGBLINK=../../rgblink $RGBASM -o $otemp bank-numbers.asm $RGBLINK -o $gbtemp $otemp > $outtemp 2>&1 diff bank-numbers.out $outtemp head -c 20 $gbtemp > $otemp 2>&1 diff bank-numbers.out.bin $otemp $RGBASM -o $otemp wramx-contwram.asm $RGBLINK -o $gbtemp $otemp > $outtemp 2>&1 diff wramx-contwram-no-w.out $outtemp $RGBLINK -w -o $gbtemp $otemp > $outtemp 2>&1 diff wramx-contwram-w.out $outtemp $RGBASM -o $otemp romx-tiny.asm $RGBLINK -o $gbtemp $otemp > $outtemp 2>&1 diff romx-tiny-no-t.out $outtemp $RGBLINK -t -o $gbtemp $otemp > $outtemp 2>&1 diff romx-tiny-t.out $outtemp $RGBASM -o $otemp high-low-a.asm $RGBLINK -o $gbtemp $otemp $RGBASM -o $otemp high-low-b.asm $RGBLINK -o $gbtemp2 $otemp diff $gbtemp $gbtemp2 exit 0