From 959270def17470224e6b0bbf9991b365376550fa Mon Sep 17 00:00:00 2001 From: Malik Burton Date: Tue, 15 Sep 2020 18:46:45 -0400 Subject: [PATCH] runtime tests hello modified to return 0 and vecadd modified to replace printf with vx_print_str. --- runtime/tests/hello/hello.cpp | 6 ++++-- runtime/tests/vecadd/vx_pocl_main.c | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/runtime/tests/hello/hello.cpp b/runtime/tests/hello/hello.cpp index 4729c245..a8df98aa 100644 --- a/runtime/tests/hello/hello.cpp +++ b/runtime/tests/hello/hello.cpp @@ -1,5 +1,4 @@ - - +#include struct hello { int a; @@ -15,4 +14,7 @@ int main() { nameing.a = 20; int b; + printf("Passed!\n"); + + return 0; } \ No newline at end of file diff --git a/runtime/tests/vecadd/vx_pocl_main.c b/runtime/tests/vecadd/vx_pocl_main.c index 632723f1..bc1654db 100644 --- a/runtime/tests/vecadd/vx_pocl_main.c +++ b/runtime/tests/vecadd/vx_pocl_main.c @@ -216,13 +216,13 @@ int main (int argc, char **argv) { int exitcode = 0; for (i=0; i