Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_pdata
Commits
18f0ca24
Commit
18f0ca24
authored
Mar 24, 2016
by
Pietro Incardona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing linux test
parent
1c0cba47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
src/Decomposition/Distribution/Distribution_unit_tests.hpp
src/Decomposition/Distribution/Distribution_unit_tests.hpp
+11
-1
No files found.
src/Decomposition/Distribution/Distribution_unit_tests.hpp
View file @
18f0ca24
...
@@ -243,9 +243,19 @@ BOOST_AUTO_TEST_CASE( Parmetis_distribution_test)
...
@@ -243,9 +243,19 @@ BOOST_AUTO_TEST_CASE( Parmetis_distribution_test)
str
<<
"vtk_parmetis_distribution_"
<<
iter
;
str
<<
"vtk_parmetis_distribution_"
<<
iter
;
pmet_dist
.
write
(
str
.
str
());
pmet_dist
.
write
(
str
.
str
());
#ifdef HAVE_OSX
// Check
// Check
bool
test
=
compare
(
std
::
to_string
(
v_cl
.
getProcessUnitID
())
+
"_"
+
str
.
str
()
+
".vtk"
,
"src/Decomposition/Distribution/test_data/"
+
std
::
to_string
(
v_cl
.
getProcessUnitID
())
+
"_"
+
str
.
str
()
+
"_osx_test.vtk"
);
bool
test
=
compare
(
std
::
to_string
(
v_cl
.
getProcessUnitID
())
+
"_"
+
str
.
str
()
+
".vtk"
,
"src/Decomposition/Distribution/test_data/"
+
std
::
to_string
(
v_cl
.
getProcessUnitID
())
+
"_"
+
str
.
str
()
+
"_osx_test.vtk"
);
BOOST_REQUIRE_EQUAL
(
true
,
test
);
BOOST_REQUIRE_EQUAL
(
true
,
test
);
#else
// Check
bool
test
=
compare
(
std
::
to_string
(
v_cl
.
getProcessUnitID
())
+
"_"
+
str
.
str
()
+
".vtk"
,
"src/Decomposition/Distribution/test_data/"
+
std
::
to_string
(
v_cl
.
getProcessUnitID
())
+
"_"
+
str
.
str
()
+
"_test.vtk"
);
BOOST_REQUIRE_EQUAL
(
true
,
test
);
#endif
}
}
}
}
}
}
...
@@ -341,7 +351,7 @@ BOOST_AUTO_TEST_CASE( DistParmetis_distribution_test)
...
@@ -341,7 +351,7 @@ BOOST_AUTO_TEST_CASE( DistParmetis_distribution_test)
#else
#else
bool
test
=
compare
(
str
.
str
()
+
".vtk"
,
std
::
string
(
"src/Decomposition/Distribution/test_data/"
)
+
str
.
str
()
+
"_
osx_
test.vtk"
);
bool
test
=
compare
(
str
.
str
()
+
".vtk"
,
std
::
string
(
"src/Decomposition/Distribution/test_data/"
)
+
str
.
str
()
+
"_test.vtk"
);
BOOST_REQUIRE_EQUAL
(
true
,
test
);
BOOST_REQUIRE_EQUAL
(
true
,
test
);
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment