tests/make: Add 0077-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 f7e622f7d563d555919db35060871e2bb0747d9f
 (DIR) parent 7689c595a1a6c23996d5b986c798c7ff960b617b
 (HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
       Date:   Sat, 20 Jan 2024 23:11:28 +0100
       
       tests/make: Add 0077-macro test
       
       Diffstat:
         A tests/make/execute/0077-macro.sh    |      12 ++++++++++++
       
       1 file changed, 12 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/tests/make/execute/0077-macro.sh b/tests/make/execute/0077-macro.sh
       @@ -0,0 +1,12 @@
       +#!/bin/sh
       +
       +trap 'rm -f $tmp1 $tmp2' EXIT INT QUIT TERM HUP
       +
       +tmp1=tmp1.$$
       +tmp2=tmp2.$$
       +
       +echo SHELL=/bin/sh > $tmp2
       +SHELL=foo scc-make -f- <<'EOF'
       +all:
       +        @echo $(SHELL)
       +EOF