Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Some search and replace in test
  • Loading branch information
cburstedde committed Sep 20, 2014
1 parent 53e29d0 commit 58cc4a8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions test/test_coarsen2.c
Expand Up @@ -39,7 +39,7 @@ static void
p4est_coarsen_old (p4est_t * p4est, int coarsen_recursive,
p4est_coarsen_t coarsen_fn, p4est_init_t init_fn)
{
#ifdef P4EST_DEBUG
#ifdef P4EST_ENABLE_DEBUG
size_t data_pool_size;
#endif
int i, maxlevel;
Expand All @@ -65,7 +65,7 @@ p4est_coarsen_old (p4est_t * p4est, int coarsen_recursive,
for (jt = p4est->first_local_tree; jt <= p4est->last_local_tree; ++jt) {
tree = p4est_tree_array_index (p4est->trees, jt);
tquadrants = &tree->quadrants;
#ifdef P4EST_DEBUG
#ifdef P4EST_ENABLE_DEBUG
data_pool_size = 0;
if (p4est->user_data_pool != NULL) {
data_pool_size = p4est->user_data_pool->elem_count;
Expand Down
6 changes: 3 additions & 3 deletions test/test_face_transform3.c
Expand Up @@ -85,7 +85,7 @@ main (int argc, char **argv)
high[0] == p8est_edge_corners[i][1]) {
P4EST_ASSERT (target_axis[0] == -1);
target_axis[0] = i / 4;
#ifndef P4EST_DEBUG
#ifndef P4EST_ENABLE_DEBUG
if (target_axis[1] >= 0)
break;
#endif
Expand All @@ -94,7 +94,7 @@ main (int argc, char **argv)
high[1] == p8est_edge_corners[i][1]) {
P4EST_ASSERT (target_axis[1] == -1);
target_axis[1] = i / 4;
#ifndef P4EST_DEBUG
#ifndef P4EST_ENABLE_DEBUG
if (target_axis[0] >= 0)
break;
#endif
Expand All @@ -106,7 +106,7 @@ main (int argc, char **argv)
target_axis[2] = target_face / 2;
edge_reverse[2] = 2 * (my_face % 2) + target_face % 2;

#ifdef P4EST_DEBUG
#ifdef P4EST_ENABLE_DEBUG
for (i = 0; i < 3; ++i) {
P4EST_ASSERT (0 <= my_axis[i] && my_axis[i] < 3);
P4EST_ASSERT (0 <= target_axis[i] && target_axis[i] < 3);
Expand Down
2 changes: 1 addition & 1 deletion test/test_lnodes2.c
Expand Up @@ -874,7 +874,7 @@ main (int argc, char **argv)
else if (jb < 0) {
e = e + 4;
}
#ifdef P4EST_DEBUG
#ifdef P4EST_ENABLE_DEBUG
else {
P4EST_ASSERT (ib < 0);
}
Expand Down
2 changes: 1 addition & 1 deletion test/test_wrap2.c
Expand Up @@ -45,7 +45,7 @@ main (int argc, char **argv)
int mpiret;
int changed;
int loop;
#ifdef P4EST_DEBUG
#ifdef P4EST_ENABLE_DEBUG
int lp = SC_LP_DEFAULT;
#else
int lp = SC_LP_PRODUCTION;
Expand Down

0 comments on commit 58cc4a8

Please sign in to comment.