scc

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

commit dfdf911e7e3dbfe3f8dcc519a4e9a7bf2b58e032
parent ffe9b54d1bf9ddf8c3b8cb097b46ed996f2fbb66
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 12 Nov 2024 22:30:49 +0100

tests/as: Use new scc wrapper in the tests

This make easier to use scc-as from other directories.

Diffstat:
Mtests/as/execute/Makefile | 2+-
Mtests/as/execute/test.sh | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/as/execute/Makefile b/tests/as/execute/Makefile @@ -4,7 +4,7 @@ ROOT=../../../ BINDIR=$(ROOT)/bin all: - @BINDIR=$(BINDIR) ./chktest.sh + PATH=$(BINDIR):$$PATH ./chktest.sh tests: @$(MAKE) |\ diff --git a/tests/as/execute/test.sh b/tests/as/execute/test.sh @@ -11,7 +11,7 @@ file=$cpu.s trap "rm -f a.out $tmp1 $tmp2" 0 2 3 -$(BINDIR)scc-as -m $cpu $file +scc as -m $cpu $file sed -n '/^\#/ ! { /\#/ ! d