aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/general/framework.h
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2018-06-06 17:30:28 +0200
committerCyril SIX <cyril.six@kalray.eu>2018-06-06 17:30:28 +0200
commit408ae8c4451b49277e8b97bbb7cedd2fb905bcdb (patch)
tree4a6d88c88ddcd127f820df8dbcc62a2e7becffdd /test/mppa/general/framework.h
parent7b5eb7e675ee0978e1b17b75f827dcd45df8c250 (diff)
downloadcompcert-kvx-408ae8c4451b49277e8b97bbb7cedd2fb905bcdb.tar.gz
compcert-kvx-408ae8c4451b49277e8b97bbb7cedd2fb905bcdb.zip
MPPA - Forgot to initialize variables in the tests
Warning : the division and modulo currently do not pass the tests
Diffstat (limited to 'test/mppa/general/framework.h')
-rw-r--r--test/mppa/general/framework.h2
1 files changed, 2 insertions, 0 deletions
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 */