scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit b6862f6ebd61e6a6c095034d3cddd5f8cf42d988
parent 3870265c9d40d930147750741ba0eea82ae9e5d6
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon, 18 Dec 2017 23:36:40 +0100

[as] Fix test.sh

Diffstat:
Mas/test.sh | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/as/test.sh b/as/test.sh @@ -12,18 +12,19 @@ trap "rm -f a.out $tmp1 $tmp2" 0 2 3 sed -n '/^\// ! { s/.*\/ // s/ */\ -/ +/g w '$tmp1' }' target/$cpu/test.s + ../objdump/objdump | sed -n '/^data:/,$ { /^data:/ ! { s/.*: // s/ */\ -/ +/g w '$tmp2' } }' -diff $tmp1 $tmp2 >/dev/null +diff $tmp1 $tmp2