scc

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

commit 89dfd138a9731b37ad50d2b1e7bcc1aacc6d1cb8
parent ad4c907b4fa78b5b6e884e28945e6b14cf9eced2
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 19 Jan 2024 13:34:09 +0100

tests/make: Add 0056-rule test

Diffstat:
Atests/make/execute/0056-rule.sh | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/tests/make/execute/0056-rule.sh b/tests/make/execute/0056-rule.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +trap 'rm -f $tmp1 $tmp2' EXIT INT QUIT TERM HUP + +tmp1=tmp1.$$ +tmp2=tmp2.$$ + +echo Hello World! > $tmp2 + +echo 'all: ; @echo Hello World!' | +scc-make -f- > $tmp1 2>&1 + +diff $tmp1 $tmp2