scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1#!/bin/sh
 2
 3trap 'rm -f $tmp1' EXIT
 4trap 'exit $?' HUP INT TERM
 5
 6tmp1=tmp1.$$
 7
 8(set -e
 9 MAKEFLAGS=-n \
10 $EXEC scc make -f test.mk print-makeflags error
11 echo correct) > $tmp1 2>&1
12
13diff $tmp1 - <<EOF
14echo -n
15no-valid-program
16correct
17EOF