ref: 50a2ca7e32b07d8e5733d2174275b254ce524eb6
parent: 15e2f6489181348e1fe506cc4d70d3a6c413f0d6
author: Ori Bernstein <[email protected]>
date: Tue Jun 19 21:37:27 EDT 2012
Make 'make clean' work again for tests.
--- a/8/isel.c
+++ b/8/isel.c
@@ -803,7 +803,7 @@
is.curbb = is.bb[0];
prologue(&is, fn->stksz);
- for (j = 0; j < fn->cfg->nbb; j++) {
+ for (j = 0; j < fn->cfg->nbb - 1; j++) {
is.curbb = is.bb[j];
for (i = 0; i < fn->cfg->bb[j]->nnl; i++) {
/* put in a comment that says where this line comes from */
--- a/test/Makefile
+++ b/test/Makefile
@@ -5,7 +5,7 @@
./test.sh
.PHONY: clean
clean:
- @for i in `awk '{print $$1}' tests`; do \
+ @for i in `awk '/^[A-Z]/{print $$2}' tests`; do \
echo rm -f $$i; \
rm -f $$i; \
done