Преглед на файлове

tests/datawizard/interfaces/multiformat/advanced/multiformat_execute_on_a_specific_worker.c: when no worker is found, mark test as skipped instead of failed

Nathalie Furmento преди 13 години
родител
ревизия
a5a6d55c8f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      tests/datawizard/interfaces/multiformat/advanced/multiformat_execute_on_a_specific_worker.c

+ 1 - 1
tests/datawizard/interfaces/multiformat/advanced/multiformat_execute_on_a_specific_worker.c

@@ -83,7 +83,7 @@ create_and_submit_tasks(void)
 	else
 #endif
 	{
-		assert(0);
+		return -ENODEV;
 	}
 
 	return starpu_task_submit(task);