[arrayfire] 08/248: Corrected path typo in mean tests

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Nov 17 15:53:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.

commit 8b1140080f61084f27dedadf4c7177c033f24b75
Author: pradeep <pradeep at arrayfire.com>
Date:   Mon Jul 13 17:03:10 2015 -0400

    Corrected path typo in mean tests
---
 test/mean.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/test/mean.cpp b/test/mean.cpp
index 967e7c9..6081fcc 100644
--- a/test/mean.cpp
+++ b/test/mean.cpp
@@ -132,42 +132,42 @@ void meanDimTest(string pFileName, dim_t dim, bool isWeighted=false)
 
 TYPED_TEST(Mean, Dim0Matrix)
 {
-    meanDimTest<TypeParam>(string(TEST_DIR"/mean/mean_dim0_matrix.test"), 0);
+    meanDimTest<TypeParam>(string(TEST_DIR "/mean/mean_dim0_matrix.test"), 0);
 }
 
 TYPED_TEST(Mean, Wtd_Dim0Matrix)
 {
-    meanDimTest<TypeParam>(/*string(TEST_DIR"/mean/wtd_mean_dim0_mat.test")*/"/home/pradeep/gitroot/arrayfire_data/mean/wtd_mean_dim0_mat.test", 0, true);
+    meanDimTest<TypeParam>(string(TEST_DIR "/mean/wtd_mean_dim0_mat.test"), 0);
 }
 
 TYPED_TEST(Mean, Wtd_Dim1Matrix)
 {
-    meanDimTest<TypeParam>(/*string(TEST_DIR"/mean/wtd_mean_dim0_mat.test")*/"/home/pradeep/gitroot/arrayfire_data/mean/wtd_mean_dim1_mat.test", 1, true);
+    meanDimTest<TypeParam>(string(TEST_DIR "/mean/wtd_mean_dim1_mat.test"), 1);
 }
 
 TYPED_TEST(Mean, Dim1Cube)
 {
-    meanDimTest<TypeParam>(string(TEST_DIR"/mean/mean_dim1_cube.test"), 1);
+    meanDimTest<TypeParam>(string(TEST_DIR "/mean/mean_dim1_cube.test"), 1);
 }
 
 TYPED_TEST(Mean, Dim0HyperCube)
 {
-    meanDimTest<TypeParam>(string(TEST_DIR"/mean/mean_dim0_hypercube.test"), 0);
+    meanDimTest<TypeParam>(string(TEST_DIR "/mean/mean_dim0_hypercube.test"), 0);
 }
 
 TYPED_TEST(Mean, Dim2Matrix)
 {
-    meanDimTest<TypeParam>(string(TEST_DIR"/mean/mean_dim2_matrix.test"), 2);
+    meanDimTest<TypeParam>(string(TEST_DIR "/mean/mean_dim2_matrix.test"), 2);
 }
 
 TYPED_TEST(Mean, Dim2Cube)
 {
-    meanDimTest<TypeParam>(string(TEST_DIR"/mean/mean_dim2_cube.test"), 2);
+    meanDimTest<TypeParam>(string(TEST_DIR "/mean/mean_dim2_cube.test"), 2);
 }
 
 TYPED_TEST(Mean, Dim2HyperCube)
 {
-    meanDimTest<TypeParam>(string(TEST_DIR"/mean/mean_dim2_hypercube.test"), 2);
+    meanDimTest<TypeParam>(string(TEST_DIR "/mean/mean_dim2_hypercube.test"), 2);
 }
 
 template<typename T>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list