scc

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

commit 9298134400186e0ca22d06c1bd7fb66284491e29
parent 85cf54d2654505031ba905f21e46f4fd8a258d29
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 18 Jan 2024 14:10:05 +0100

tests/make: Add 0038-rules test

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

diff --git a/tests/make/execute/0038-rules.sh b/tests/make/execute/0038-rules.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +trap 'rm -f $tmp1 $tmp2' EXIT INT QUIT TERM HUP + +tmp1=tmp1.$$ +tmp2=tmp2.$$ + +echo "make: error: don't know how to make no-file" > $tmp2 + +scc-make no-file > $tmp1 2>&1 + +diff $tmp1 $tmp2