aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa
diff options
context:
space:
mode:
Diffstat (limited to 'test/mppa')
-rw-r--r--test/mppa/Makefile3
-rw-r--r--test/mppa/general/framework.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/test/mppa/Makefile b/test/mppa/Makefile
index 05223658..fddaad37 100644
--- a/test/mppa/Makefile
+++ b/test/mppa/Makefile
@@ -1,8 +1,7 @@
DIR=general
BINDIR=bin
ASMDIR=asm
-#TESTNAMES=$(notdir $(subst .c,,$(wildcard $(DIR)/*.c)))
-TESTNAMES=branch
+TESTNAMES=$(notdir $(subst .c,,$(wildcard $(DIR)/*.c)))
CCOMP=../../ccomp
#TESTS=$(addprefix $(DIR)/,$(TESTNAMES))
diff --git a/test/mppa/general/framework.h b/test/mppa/general/framework.h
index 8321a9a9..78f2617e 100644
--- a/test/mppa/general/framework.h
+++ b/test/mppa/general/framework.h
@@ -7,7 +7,9 @@
int main(void){\
type a, b, c, i, S;\
srand(0);\
+ S = 0;\
for (i = 0 ; i < 100 ; i++){\
+ c = randlong();\
a = randlong();\
b = randlong();
/* END BEGIN_TEST */