shithub: regress

ref: 662eb3f8a4e240bbc2aa17ec0274a419316c5e25
dir: /cmd/cpp/cpp.rc/

View raw version
#!/bin/rc

for(f in *.test){
	cpp -P $f > $f.out
	if(! cmp $f.out $f.expected){
		>[2=1] echo fail: $f
		>[2=1] ape/diff $f.out $f.expected
		exit fail
	}
}
exit ''