scc

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

commit eb68bbe29a886cb65e6cb9c53526c7424ca5590b
parent e85926dae9ee6bfd68553c4294fbd9969a3d50a7
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 18 Jan 2024 13:53:41 +0100

tests/make: Add 0034-macro test

Diffstat:
Atests/make/execute/0034-macro.sh | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/tests/make/execute/0034-macro.sh b/tests/make/execute/0034-macro.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +trap 'rm -f $tmp1 $tmp2' EXIT INT QUIT TERM HUP + +tmp1=tmp1.$$ +tmp2=tmp2.$$ + +echo pcc > $tmp2 + +MAKEFLAGS='-S CC=pcc' scc-make -f test.mk print-cc > $tmp1 2>&1 + +diff $tmp1 $tmp2