aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/mppa/Makefile6
-rw-r--r--test/mppa/generate.sh2
2 files changed, 7 insertions, 1 deletions
diff --git a/test/mppa/Makefile b/test/mppa/Makefile
index 3c1ab002..faeb7c62 100644
--- a/test/mppa/Makefile
+++ b/test/mppa/Makefile
@@ -34,13 +34,17 @@ $(DIR)/output/%.bin.exp: $(DIR)/%.c
FORCE:
.PHONY:
-check: $(TOK) sort
+check: $(TOK) sort mmult
.PHONY:
sort: FORCE
(cd sort && make compc-check)
.PHONY:
+mmult: FORCE
+ (cd mmult && make compc-check)
+
+.PHONY:
clean:
rm -f $(DIR)/*.alloctrace
rm -f $(DIR)/*.cm
diff --git a/test/mppa/generate.sh b/test/mppa/generate.sh
index cfe6f7bb..cfb0a119 100644
--- a/test/mppa/generate.sh
+++ b/test/mppa/generate.sh
@@ -9,4 +9,6 @@ if [ ! -f $cfile ]; then
shift; continue
fi
+mkdir -p $(dirname $writefile)
+
sed -n "s/^.*\/\*\s*RETURN VALUE:\s*\([0-9]*\)\s*\*\//\1/p" $1 > $2