scc

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

commit 8e8f9d38ce98752aaf61378ff7dcd8baddf5da41
parent 7664858c0bdfe3d55253b9a3bbb74850f6d3f9af
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 19 Jan 2024 12:07:16 +0100

tests/make: Add 0047-include test

Diffstat:
Atests/make/execute/0047-include.sh | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/tests/make/execute/0047-include.sh b/tests/make/execute/0047-include.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +trap 'rm -f $tmp1 $tmp2' EXIT INT QUIT TERM HUP + +tmp1=tmp1.$$ +tmp2=tmp2.$$ + +echo Hello World! > $tmp2 + +scc-make -f- hello <<EOF > $tmp1 2>&1 +include test.mk +EOF + +diff $tmp1 $tmp2