tests/make: Add 0076-macro test - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 7689c595a1a6c23996d5b986c798c7ff960b617b
 (DIR) parent d1ff01b4e6316c23631eebb2bf62f566c5c98b37
 (HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
       Date:   Sat, 20 Jan 2024 23:04:25 +0100
       
       tests/make: Add 0076-macro test
       
       Diffstat:
         A tests/make/execute/0076-macro.sh    |      17 +++++++++++++++++
       
       1 file changed, 17 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/tests/make/execute/0076-macro.sh b/tests/make/execute/0076-macro.sh
       @@ -0,0 +1,17 @@
       +#!/bin/sh
       +
       +trap 'rm -f $tmp1 $tmp2' EXIT INT QUIT TERM
       +
       +tmp1=tmp1.$$
       +tmp2=tmp2.$$
       +
       +echo CC=pcc > $tmp2
       +
       +CC=dcc MAKEFLAGS='-S CC=gcc' scc-make -ef- CC=pcc <<'EOF' > $tmp1 2>&1
       +CC=tcc
       +
       +all:
       +        @echo CC=$(CC)
       +EOF
       +
       +diff $tmp1 $tmp2