Ver código fonte

STARPU_ASSERT already adds a \n

Samuel Thibault 5 anos atrás
pai
commit
e2574dc199
1 arquivos alterados com 8 adições e 8 exclusões
  1. 8 8
      mpi/tests/policy_selection.c

+ 8 - 8
mpi/tests/policy_selection.c

@@ -106,13 +106,13 @@ int main(int argc, char **argv)
 	FPRINTF_MPI(stderr, "Task %p\n", task);
 	if (rank == 1)
 	{
-		STARPU_ASSERT_MSG(task, "Task should be executed by rank 1\n");
+		STARPU_ASSERT_MSG(task, "Task should be executed by rank 1");
 		task->destroy = 0;
 		starpu_task_destroy(task);
 	}
 	else
 	{
-		STARPU_ASSERT_MSG(task == NULL, "Task should be executed by rank 1\n");
+		STARPU_ASSERT_MSG(task == NULL, "Task should be executed by rank 1");
 	}
 
 	// Force the execution on node 1
@@ -123,13 +123,13 @@ int main(int argc, char **argv)
 	FPRINTF_MPI(stderr, "Task %p\n", task);
 	if (rank == 1)
 	{
-		STARPU_ASSERT_MSG(task, "Task should be executed by rank 1\n");
+		STARPU_ASSERT_MSG(task, "Task should be executed by rank 1");
 		task->destroy = 0;
 		starpu_task_destroy(task);
 	}
 	else
 	{
-		STARPU_ASSERT_MSG(task == NULL, "Task should be executed by rank 1\n");
+		STARPU_ASSERT_MSG(task == NULL, "Task should be executed by rank 1");
 	}
 
 	// Let StarPU choose the node
@@ -140,13 +140,13 @@ int main(int argc, char **argv)
 	FPRINTF_MPI(stderr, "Task %p\n", task);
 	if (rank == 0)
 	{
-		STARPU_ASSERT_MSG(task, "Task should be executed by rank 0\n");
+		STARPU_ASSERT_MSG(task, "Task should be executed by rank 0");
 		task->destroy = 0;
 		starpu_task_destroy(task);
 	}
 	else
 	{
-		STARPU_ASSERT_MSG(task == NULL, "Task should be executed by rank 2\n");
+		STARPU_ASSERT_MSG(task == NULL, "Task should be executed by rank 2");
 	}
 
 	// Let StarPU choose the node
@@ -156,13 +156,13 @@ int main(int argc, char **argv)
 	FPRINTF_MPI(stderr, "Task %p\n", task);
 	if (rank == 0)
 	{
-		STARPU_ASSERT_MSG(task, "Task should be executed by rank 0\n");
+		STARPU_ASSERT_MSG(task, "Task should be executed by rank 0");
 		task->destroy = 0;
 		starpu_task_destroy(task);
 	}
 	else
 	{
-		STARPU_ASSERT_MSG(task == NULL, "Task should be executed by rank 0\n");
+		STARPU_ASSERT_MSG(task == NULL, "Task should be executed by rank 0");
 	}
 
 	starpu_data_unregister(handles[0]);