[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix Tiny t1 test
From: |
Richard Guenther |
Subject: |
[PATCH] Fix Tiny t1 test |
Date: |
Tue, 9 Dec 2003 13:46:15 +0100 (CET) |
Hi!
This patch properly initializes the t1 test to allow for checking in
a parallel environment.
Ok?
Richard.
2003Dec09 Richard Guenther <address@hidden>
* src/Tiny/tests/t1.cpp: initialize pooma library.
===== t1.cpp 1.2 vs edited =====
--- 1.2/r2/src/Tiny/tests/t1.cpp Thu Jan 30 22:35:02 2003
+++ edited/t1.cpp Tue Dec 9 13:43:19 2003
@@ -32,6 +32,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include "Pooma/Pooma.h"
#include "Utilities/Tester.h"
#include "Tiny/TinyMatrix.h"
#include "Tiny/Vector.h"
@@ -495,6 +496,7 @@
int main(int argc, char **argv)
{
+ Pooma::initialize(argc, argv);
tester = new Pooma::Tester(argc, argv);
testTinyMatrixDot();
@@ -519,7 +521,9 @@
testBoundsChecking();
#endif
- return tester->results("t1");
+ int ret = tester->results("t1");
+ Pooma::finalize();
+ return ret;
}
// ACL:rcsinfo
- [PATCH] Fix Tiny t1 test,
Richard Guenther <=