X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..eec26165b51ffe7d65bab3aa5c5ff14db1dfb746:/teshsuite/gras/datadesc/datadesc_usage.c diff --git a/teshsuite/gras/datadesc/datadesc_usage.c b/teshsuite/gras/datadesc/datadesc_usage.c index 423596f342..5678e6df1e 100644 --- a/teshsuite/gras/datadesc/datadesc_usage.c +++ b/teshsuite/gras/datadesc/datadesc_usage.c @@ -457,22 +457,14 @@ static void test_dynar_ref(gras_socket_t sock, int direction) /**** PBIO *****/ GRAS_DEFINE_TYPE(s_pbio, struct s_pbio { /* structure presented in the IEEE article */ - int Cnstatv; - double Cstatev[12]; + int Cnstatv; double Cstatev[12]; int Cnprops; - double Cprops[110]; - int Cndi[4]; - int Cnshr; - int Cnpt; + double Cprops[110]; int Cndi[4]; int Cnshr; int Cnpt; double Cdtime; double Ctime[2]; - int Cntens; - double Cdfgrd0[373][3]; - double Cdfgrd1[3][3]; double Cstress[106]; - double Cddsdde[106][106]; - }; + int Cntens; double Cdfgrd0[373][3]; double Cdfgrd1[3][3]; + double Cstress[106]; double Cddsdde[106][106];};) - ) typedef struct s_pbio pbio_t; static void test_pbio(gras_socket_t sock, int direction) @@ -549,9 +541,10 @@ GRAS_DEFINE_TYPE(s_pbio, struct s_pbio { /* structure presented in the IE } GRAS_DEFINE_TYPE(s_clause, struct s_clause { - int num_lits; - int *literals GRAS_ANNOTE(size, num_lits); /* Tells GRAS where to find the size */ - };) + int num_lits; int *literals GRAS_ANNOTE(size, num_lits); /* Tells GRAS where to find the size */ + }; + + ) typedef struct s_clause Clause; @@ -744,11 +737,11 @@ int main(int argc, char *argv[]) } if (direction == WRITE) { - INFO1("Write to file %s", filename); + INFO1("Write to file %s", strrchr(filename,'/')?strrchr(filename,'/')+1:filename); sock = gras_socket_client_from_file(filename); } if (direction == READ) { - INFO1("Read from file %s", filename); + INFO1("Read from file %s", strrchr(filename,'/')?strrchr(filename,'/')+1:filename); sock = gras_socket_server_from_file(filename); } if (direction == COPY) {