File: warnings

package info (click to toggle)
gtg-trace 0.2-3-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 812 kB
  • sloc: ansic: 5,141; fortran: 234; makefile: 189; f90: 167; sh: 30
file content (40 lines) | stat: -rw-r--r-- 1,297 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
https://github.com/trahay/Generic-Trace-Generator/pull/4
---
 test/testEvent_mpi.c    |    2 +-
 test/testEvent_parall.c |    2 +-
 test/testState_parall.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

--- a/test/testEvent_mpi.c
+++ b/test/testEvent_mpi.c
@@ -45,7 +45,7 @@ int main (int argc, char** argv){
     MPI_Comm_size (MPI_COMM_WORLD, &size);
     if (size != 6){
         fprintf (stderr, "Error you need to run this test on 6 procs. Leaving \n");
-        return;
+        return EXIT_FAILURE;
     }
     MPI_Comm_rank (MPI_COMM_WORLD, &rank);
 
--- a/test/testEvent_parall.c
+++ b/test/testEvent_parall.c
@@ -45,7 +45,7 @@ int main (int argc, char** argv){
     MPI_Comm_size (MPI_COMM_WORLD, &size);
     if (size != 6){
         fprintf (stderr, "Error you need to run this test on 6 procs. Leaving \n");
-        return;
+        return EXIT_FAILURE;
     }
     MPI_Comm_rank (MPI_COMM_WORLD, &rank);
 
--- a/test/testState_parall.c
+++ b/test/testState_parall.c
@@ -45,7 +45,7 @@ int main (int argc, char** argv){
     MPI_Comm_size (MPI_COMM_WORLD, &size);
     if (size != 6){
         fprintf (stderr, "Error you need to run this test on 6 procs. Leaving \n");
-        return;
+        return EXIT_FAILURE;
     }
     MPI_Comm_rank (MPI_COMM_WORLD, &rank);