aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/Makefile
blob: 8c6c236ba09104821de44b17d1fb32dd4f2e5255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)

all: $(T)

$(T):
	@./$@

clean:
	$(RM) -rf trash

.PHONY: $(T) clean
"foo/tree" trash/tmp' run_test 'no log-link' '! grep -e "foo/log" trash/tmp' tests_done { color:#ff00ff; } # table.blob .str { color:#ff0000; } # table.blob .dstr { color:#818100; } # table.blob .slc { color:#838183; font-style:italic; } # table.blob .com { color:#838183; font-style:italic; } # table.blob .dir { color:#008200; } # table.blob .sym { color:#000000; } # table.blob .kwa { color:#000000; font-weight:bold; } # table.blob .kwb { color:#830000; } # table.blob .kwc { color:#000000; font-weight:bold; } # table.blob .kwd { color:#010181; } # store filename and extension in local vars BASENAME="$1" EXTENSION="${BASENAME##*.}" # map Makefile and Makefile.* to .mk [ "${BASENAME%%.*}" == "Makefile" ] && EXTENSION=mk exec highlight --force -f -I -X -S $EXTENSION 2>/dev/null