Explorar o código

tests/datawizard/interfaces/test_interfaces.c: disable printing when environment variable STARPU_SSILENT is set

Nathalie Furmento %!s(int64=13) %!d(string=hai) anos
pai
achega
4df93292a3
Modificáronse 1 ficheiros con 5 adicións e 7 borrados
  1. 5 7
      tests/datawizard/interfaces/test_interfaces.c

+ 5 - 7
tests/datawizard/interfaces/test_interfaces.c

@@ -139,13 +139,13 @@ void data_interface_test_summary_print(FILE *f,
 		enum_to_string(s->opencl_to_cpu));
 #endif /* !STARPU_USE_OPENCL */
 #ifdef STARPU_USE_CPU
-	(void) fprintf(f, "CPU    -> CPU    : %s\n",
-			enum_to_string(s->cpu_to_cpu));
+	FPRINTF(f, "CPU    -> CPU    : %s\n",
+		enum_to_string(s->cpu_to_cpu));
 	FPRINTF(f, "handle_to_pointer() : %s\n",
 		enum_to_string(s->handle_to_pointer));
 #endif /* !STARPU_USE_CPU */
-	(void) fprintf(f, "compare()        : %s\n",
-			enum_to_string(s->compare));
+	FPRINTF(f, "compare()        : %s\n",
+		enum_to_string(s->compare));
 }
 
 int
@@ -554,9 +554,7 @@ ram_to_ram(void)
 		goto out;
 	}
 
-
-	
-	fprintf(stderr, "[%s] : %d\n", __func__, current_config->copy_failed);
+	FPRINTF(stderr, "[%s] : %d\n", __func__, current_config->copy_failed);
 	err = current_config->copy_failed;
 
 out: