From: mquinson Date: Wed, 12 Sep 2007 15:39:10 +0000 (+0000) Subject: Drop tests of the transport layer. The introduction of the receiving thread make... X-Git-Tag: v3.3~1180 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/52c33af391915f5257acafa1de193678cc5b49b7 Drop tests of the transport layer. The introduction of the receiving thread make them impossible since this dude absolutely expects messages on the socket, and make impossible to exchange raw data as done in these tests. These functionnalities are well tested elsewhere. datadesc_usage tests file sockets, and pretty everyone tests regular sockets git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4604 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/teshsuite/Makefile.am b/teshsuite/Makefile.am index 50fa04bc96..7e306cafc5 100644 --- a/teshsuite/Makefile.am +++ b/teshsuite/Makefile.am @@ -3,7 +3,7 @@ AM_CFLAGS = -g CLEANFILES = gras/datadesc_usage.out datadesc_usage.out -EXTRA_DIST=run_tests.in \ +EXTRA_DIST= \ gras/datadesc.little32_4 \ gras/datadesc.little64\ gras/datadesc.big32_8 gras/datadesc.big32_8_4 gras/datadesc.big32_2 \ @@ -12,8 +12,6 @@ EXTRA_DIST=run_tests.in \ TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh TESTS = xbt/parallel_log_crashtest.tesh \ - gras/trp_tcp_usage.tesh \ - gras/trp_file_usage.tesh \ gras/datadesc_mem.tesh \ gras/datadesc_rw.tesh \ gras/datadesc_r_little32_4.tesh \ @@ -33,8 +31,6 @@ XFAIL_TESTS= \ noinst_PROGRAMS = \ xbt/parallel_log_crashtest \ \ - gras/trp_tcp_client gras/trp_tcp_server \ - gras/trp_file_client gras/trp_file_server \ gras/datadesc_usage LDADD_SG=$(abs_top_builddir)/src/libsimgrid.la @@ -43,12 +39,6 @@ LDADD_RL=$(abs_top_builddir)/src/libgras.la # Try parallel logs xbt_parallel_log_crashtest_LDADD = $(LDADD_RL) -# Try raw communication facilities -gras_trp_tcp_client_LDADD= $(LDADD_RL) -gras_trp_tcp_server_LDADD= $(LDADD_RL) -gras_trp_file_client_LDADD= $(LDADD_RL) -gras_trp_file_server_LDADD= $(LDADD_RL) - # Try structured communication facilities gras_datadesc_usage_SOURCES= gras/datadesc_usage.c gras/datadesc_structs.c gras_datadesc_usage_LDADD= $(LDADD_RL) diff --git a/teshsuite/Makefile.in b/teshsuite/Makefile.in index 9f7562bc6d..4f776a8148 100644 --- a/teshsuite/Makefile.in +++ b/teshsuite/Makefile.in @@ -39,8 +39,6 @@ build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ noinst_PROGRAMS = xbt/parallel_log_crashtest$(EXEEXT) \ - gras/trp_tcp_client$(EXEEXT) gras/trp_tcp_server$(EXEEXT) \ - gras/trp_file_client$(EXEEXT) gras/trp_file_server$(EXEEXT) \ gras/datadesc_usage$(EXEEXT) DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/acmacro/dist-files.mk @@ -65,18 +63,6 @@ am_gras_datadesc_usage_OBJECTS = datadesc_usage.$(OBJEXT) \ gras_datadesc_usage_OBJECTS = $(am_gras_datadesc_usage_OBJECTS) gras_datadesc_usage_DEPENDENCIES = $(LDADD_RL) am__dirstamp = $(am__leading_dot)dirstamp -gras_trp_file_client_SOURCES = gras/trp_file_client.c -gras_trp_file_client_OBJECTS = trp_file_client.$(OBJEXT) -gras_trp_file_client_DEPENDENCIES = $(LDADD_RL) -gras_trp_file_server_SOURCES = gras/trp_file_server.c -gras_trp_file_server_OBJECTS = trp_file_server.$(OBJEXT) -gras_trp_file_server_DEPENDENCIES = $(LDADD_RL) -gras_trp_tcp_client_SOURCES = gras/trp_tcp_client.c -gras_trp_tcp_client_OBJECTS = trp_tcp_client.$(OBJEXT) -gras_trp_tcp_client_DEPENDENCIES = $(LDADD_RL) -gras_trp_tcp_server_SOURCES = gras/trp_tcp_server.c -gras_trp_tcp_server_OBJECTS = trp_tcp_server.$(OBJEXT) -gras_trp_tcp_server_DEPENDENCIES = $(LDADD_RL) xbt_parallel_log_crashtest_SOURCES = xbt/parallel_log_crashtest.c xbt_parallel_log_crashtest_OBJECTS = parallel_log_crashtest.$(OBJEXT) xbt_parallel_log_crashtest_DEPENDENCIES = $(LDADD_RL) @@ -92,12 +78,9 @@ CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ -SOURCES = $(gras_datadesc_usage_SOURCES) gras/trp_file_client.c \ - gras/trp_file_server.c gras/trp_tcp_client.c \ - gras/trp_tcp_server.c xbt/parallel_log_crashtest.c -DIST_SOURCES = $(gras_datadesc_usage_SOURCES) gras/trp_file_client.c \ - gras/trp_file_server.c gras/trp_tcp_client.c \ - gras/trp_tcp_server.c xbt/parallel_log_crashtest.c +SOURCES = $(gras_datadesc_usage_SOURCES) xbt/parallel_log_crashtest.c +DIST_SOURCES = $(gras_datadesc_usage_SOURCES) \ + xbt/parallel_log_crashtest.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -239,7 +222,7 @@ top_srcdir = @top_srcdir@ INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/src/include AM_CFLAGS = -g CLEANFILES = gras/datadesc_usage.out datadesc_usage.out -EXTRA_DIST = run_tests.in \ +EXTRA_DIST = \ gras/datadesc.little32_4 \ gras/datadesc.little64\ gras/datadesc.big32_8 gras/datadesc.big32_8_4 gras/datadesc.big32_2 \ @@ -247,8 +230,6 @@ EXTRA_DIST = run_tests.in \ TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh TESTS = xbt/parallel_log_crashtest.tesh \ - gras/trp_tcp_usage.tesh \ - gras/trp_file_usage.tesh \ gras/datadesc_mem.tesh \ gras/datadesc_rw.tesh \ gras/datadesc_r_little32_4.tesh \ @@ -272,12 +253,6 @@ LDADD_RL = $(abs_top_builddir)/src/libgras.la # Try parallel logs xbt_parallel_log_crashtest_LDADD = $(LDADD_RL) -# Try raw communication facilities -gras_trp_tcp_client_LDADD = $(LDADD_RL) -gras_trp_tcp_server_LDADD = $(LDADD_RL) -gras_trp_file_client_LDADD = $(LDADD_RL) -gras_trp_file_server_LDADD = $(LDADD_RL) - # Try structured communication facilities gras_datadesc_usage_SOURCES = gras/datadesc_usage.c gras/datadesc_structs.c gras_datadesc_usage_LDADD = $(LDADD_RL) @@ -327,18 +302,6 @@ gras/$(am__dirstamp): gras/datadesc_usage$(EXEEXT): $(gras_datadesc_usage_OBJECTS) $(gras_datadesc_usage_DEPENDENCIES) gras/$(am__dirstamp) @rm -f gras/datadesc_usage$(EXEEXT) $(LINK) $(gras_datadesc_usage_OBJECTS) $(gras_datadesc_usage_LDADD) $(LIBS) -gras/trp_file_client$(EXEEXT): $(gras_trp_file_client_OBJECTS) $(gras_trp_file_client_DEPENDENCIES) gras/$(am__dirstamp) - @rm -f gras/trp_file_client$(EXEEXT) - $(LINK) $(gras_trp_file_client_OBJECTS) $(gras_trp_file_client_LDADD) $(LIBS) -gras/trp_file_server$(EXEEXT): $(gras_trp_file_server_OBJECTS) $(gras_trp_file_server_DEPENDENCIES) gras/$(am__dirstamp) - @rm -f gras/trp_file_server$(EXEEXT) - $(LINK) $(gras_trp_file_server_OBJECTS) $(gras_trp_file_server_LDADD) $(LIBS) -gras/trp_tcp_client$(EXEEXT): $(gras_trp_tcp_client_OBJECTS) $(gras_trp_tcp_client_DEPENDENCIES) gras/$(am__dirstamp) - @rm -f gras/trp_tcp_client$(EXEEXT) - $(LINK) $(gras_trp_tcp_client_OBJECTS) $(gras_trp_tcp_client_LDADD) $(LIBS) -gras/trp_tcp_server$(EXEEXT): $(gras_trp_tcp_server_OBJECTS) $(gras_trp_tcp_server_DEPENDENCIES) gras/$(am__dirstamp) - @rm -f gras/trp_tcp_server$(EXEEXT) - $(LINK) $(gras_trp_tcp_server_OBJECTS) $(gras_trp_tcp_server_LDADD) $(LIBS) xbt/$(am__dirstamp): @$(MKDIR_P) xbt @: > xbt/$(am__dirstamp) @@ -355,10 +318,6 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/datadesc_structs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/datadesc_usage.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parallel_log_crashtest.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trp_file_client.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trp_file_server.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trp_tcp_client.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trp_tcp_server.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -409,62 +368,6 @@ datadesc_structs.obj: gras/datadesc_structs.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o datadesc_structs.obj `if test -f 'gras/datadesc_structs.c'; then $(CYGPATH_W) 'gras/datadesc_structs.c'; else $(CYGPATH_W) '$(srcdir)/gras/datadesc_structs.c'; fi` -trp_file_client.o: gras/trp_file_client.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT trp_file_client.o -MD -MP -MF $(DEPDIR)/trp_file_client.Tpo -c -o trp_file_client.o `test -f 'gras/trp_file_client.c' || echo '$(srcdir)/'`gras/trp_file_client.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/trp_file_client.Tpo $(DEPDIR)/trp_file_client.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gras/trp_file_client.c' object='trp_file_client.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o trp_file_client.o `test -f 'gras/trp_file_client.c' || echo '$(srcdir)/'`gras/trp_file_client.c - -trp_file_client.obj: gras/trp_file_client.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT trp_file_client.obj -MD -MP -MF $(DEPDIR)/trp_file_client.Tpo -c -o trp_file_client.obj `if test -f 'gras/trp_file_client.c'; then $(CYGPATH_W) 'gras/trp_file_client.c'; else $(CYGPATH_W) '$(srcdir)/gras/trp_file_client.c'; fi` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/trp_file_client.Tpo $(DEPDIR)/trp_file_client.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gras/trp_file_client.c' object='trp_file_client.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o trp_file_client.obj `if test -f 'gras/trp_file_client.c'; then $(CYGPATH_W) 'gras/trp_file_client.c'; else $(CYGPATH_W) '$(srcdir)/gras/trp_file_client.c'; fi` - -trp_file_server.o: gras/trp_file_server.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT trp_file_server.o -MD -MP -MF $(DEPDIR)/trp_file_server.Tpo -c -o trp_file_server.o `test -f 'gras/trp_file_server.c' || echo '$(srcdir)/'`gras/trp_file_server.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/trp_file_server.Tpo $(DEPDIR)/trp_file_server.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gras/trp_file_server.c' object='trp_file_server.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o trp_file_server.o `test -f 'gras/trp_file_server.c' || echo '$(srcdir)/'`gras/trp_file_server.c - -trp_file_server.obj: gras/trp_file_server.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT trp_file_server.obj -MD -MP -MF $(DEPDIR)/trp_file_server.Tpo -c -o trp_file_server.obj `if test -f 'gras/trp_file_server.c'; then $(CYGPATH_W) 'gras/trp_file_server.c'; else $(CYGPATH_W) '$(srcdir)/gras/trp_file_server.c'; fi` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/trp_file_server.Tpo $(DEPDIR)/trp_file_server.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gras/trp_file_server.c' object='trp_file_server.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o trp_file_server.obj `if test -f 'gras/trp_file_server.c'; then $(CYGPATH_W) 'gras/trp_file_server.c'; else $(CYGPATH_W) '$(srcdir)/gras/trp_file_server.c'; fi` - -trp_tcp_client.o: gras/trp_tcp_client.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT trp_tcp_client.o -MD -MP -MF $(DEPDIR)/trp_tcp_client.Tpo -c -o trp_tcp_client.o `test -f 'gras/trp_tcp_client.c' || echo '$(srcdir)/'`gras/trp_tcp_client.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/trp_tcp_client.Tpo $(DEPDIR)/trp_tcp_client.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gras/trp_tcp_client.c' object='trp_tcp_client.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o trp_tcp_client.o `test -f 'gras/trp_tcp_client.c' || echo '$(srcdir)/'`gras/trp_tcp_client.c - -trp_tcp_client.obj: gras/trp_tcp_client.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT trp_tcp_client.obj -MD -MP -MF $(DEPDIR)/trp_tcp_client.Tpo -c -o trp_tcp_client.obj `if test -f 'gras/trp_tcp_client.c'; then $(CYGPATH_W) 'gras/trp_tcp_client.c'; else $(CYGPATH_W) '$(srcdir)/gras/trp_tcp_client.c'; fi` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/trp_tcp_client.Tpo $(DEPDIR)/trp_tcp_client.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gras/trp_tcp_client.c' object='trp_tcp_client.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o trp_tcp_client.obj `if test -f 'gras/trp_tcp_client.c'; then $(CYGPATH_W) 'gras/trp_tcp_client.c'; else $(CYGPATH_W) '$(srcdir)/gras/trp_tcp_client.c'; fi` - -trp_tcp_server.o: gras/trp_tcp_server.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT trp_tcp_server.o -MD -MP -MF $(DEPDIR)/trp_tcp_server.Tpo -c -o trp_tcp_server.o `test -f 'gras/trp_tcp_server.c' || echo '$(srcdir)/'`gras/trp_tcp_server.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/trp_tcp_server.Tpo $(DEPDIR)/trp_tcp_server.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gras/trp_tcp_server.c' object='trp_tcp_server.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o trp_tcp_server.o `test -f 'gras/trp_tcp_server.c' || echo '$(srcdir)/'`gras/trp_tcp_server.c - -trp_tcp_server.obj: gras/trp_tcp_server.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT trp_tcp_server.obj -MD -MP -MF $(DEPDIR)/trp_tcp_server.Tpo -c -o trp_tcp_server.obj `if test -f 'gras/trp_tcp_server.c'; then $(CYGPATH_W) 'gras/trp_tcp_server.c'; else $(CYGPATH_W) '$(srcdir)/gras/trp_tcp_server.c'; fi` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/trp_tcp_server.Tpo $(DEPDIR)/trp_tcp_server.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gras/trp_tcp_server.c' object='trp_tcp_server.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o trp_tcp_server.obj `if test -f 'gras/trp_tcp_server.c'; then $(CYGPATH_W) 'gras/trp_tcp_server.c'; else $(CYGPATH_W) '$(srcdir)/gras/trp_tcp_server.c'; fi` - parallel_log_crashtest.o: xbt/parallel_log_crashtest.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT parallel_log_crashtest.o -MD -MP -MF $(DEPDIR)/parallel_log_crashtest.Tpo -c -o parallel_log_crashtest.o `test -f 'xbt/parallel_log_crashtest.c' || echo '$(srcdir)/'`xbt/parallel_log_crashtest.c @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/parallel_log_crashtest.Tpo $(DEPDIR)/parallel_log_crashtest.Po diff --git a/teshsuite/gras/trp_file_client b/teshsuite/gras/trp_file_client index d1db334f08..48a8dc1d4a 100755 --- a/teshsuite/gras/trp_file_client +++ b/teshsuite/gras/trp_file_client @@ -32,7 +32,7 @@ DUALCASE=1; export DUALCASE # for MKS sh # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH -relink_command="(cd /home/mquinson/CVSIMPORT/gras/gras/teshsuite; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; LD_LIBRARY_PATH=\"/home/mquinson/CVSIMPORT/gras/install/lib\"; export LD_LIBRARY_PATH; PATH=\"/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/mquinson/SCRIPTS:/usr/sbin:/sbin:/home/mquinson/CVSIMPORT/gras/install/bin\"; export PATH; gcc -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wno-unused-function -Wno-strict-aliasing -Werror -g3 -o \$progdir/\$file trp_file_client.o /home/mquinson/CVSIMPORT/gras/gras/src/.libs/libgras.so -lnsl -lm -lpthread -Wl,--rpath -Wl,/home/mquinson/CVSIMPORT/gras/gras/src/.libs -Wl,--rpath -Wl,/home/mquinson/CVSIMPORT/gras/install//lib ) " +relink_command="(cd /home/mquinson/CVSIMPORT/gras/gras/teshsuite; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; LD_LIBRARY_PATH=\"/home/mquinson/CVSIMPORT/gras/install/lib\"; export LD_LIBRARY_PATH; PATH=\"/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/mquinson/SCRIPTS:/usr/sbin:/sbin:/home/mquinson/CVSIMPORT/gras/install/bin:/home/mquinson/SCRIPTS:/usr/sbin:/sbin:/home/mquinson/CVSIMPORT/gras/install/bin\"; export PATH; gcc -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wno-unused-function -Wno-strict-aliasing -Werror -g3 -o \$progdir/\$file trp_file_client.o /home/mquinson/CVSIMPORT/gras/gras/src/.libs/libgras.so -lnsl -lm -lpthread -Wl,--rpath -Wl,/home/mquinson/CVSIMPORT/gras/gras/src/.libs -Wl,--rpath -Wl,/home/mquinson/CVSIMPORT/gras/install//lib ) " # This environment variable determines our operation mode. if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then diff --git a/teshsuite/gras/trp_file_client.c b/teshsuite/gras/trp_file_client.c deleted file mode 100644 index c60f9fadd8..0000000000 --- a/teshsuite/gras/trp_file_client.c +++ /dev/null @@ -1,43 +0,0 @@ -/* $Id$ */ - -/* trp_tcp_client: Client of a test case for the tcp transport. */ - -/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#ifdef __BORLANDC__ -#pragma hdrstop -#endif - -#include -#include "gras.h" -#include "gras/Transport/transport_interface.h" - -XBT_LOG_NEW_CATEGORY(test,"Logging for this test"); - -#ifdef __BORLANDC__ -#pragma argsused -#endif - -int main(int argc,char *argv[]) { - gras_socket_t sock; - char data_send[256]; - - memset(data_send,0,sizeof(data_send)); - gras_init(&argc,argv); - - fprintf(stderr,"===[CLIENT]=== Contact the server\n"); - sock = gras_socket_client_from_file("-"); - - sprintf(data_send,"Hello, I am a little test data to send."); - fprintf(stderr,"===[CLIENT]=== Send data\n"); - gras_trp_send(sock,data_send, sizeof(data_send),1); - - fprintf(stderr,"===[CLIENT]=== Exiting successfully\n"); - gras_socket_close(sock); - - gras_exit(); - return 0; -} diff --git a/teshsuite/gras/trp_file_server.c b/teshsuite/gras/trp_file_server.c deleted file mode 100644 index 89521b7e8f..0000000000 --- a/teshsuite/gras/trp_file_server.c +++ /dev/null @@ -1,42 +0,0 @@ -/* $Id$ */ - -/* trp_tcp_server: Server of a test case for the tcp transport. */ - -/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#ifdef __BORLANDC__ -#pragma hdrstop -#endif - -#include -#include "gras.h" -#include "gras/Transport/transport_interface.h" - -XBT_LOG_NEW_CATEGORY(test,"Logging for this test"); - -#ifdef __BORLANDC__ -#pragma argsused -#endif - -int main(int argc,char *argv[]) { - gras_socket_t sock; - char data_recv[256]; - - gras_init(&argc,argv); - - fprintf(stderr,"===[SERVER]=== Create the socket\n"); - sock = gras_socket_server_from_file("-"); - - fprintf(stderr,"===[SERVER]=== Waiting for the data\n"); - gras_trp_recv(sock,data_recv, sizeof(data_recv)); - fprintf(stderr,"===[SERVER]=== Got '%s'.\n", data_recv); - - fprintf(stderr,"===[SERVER]=== Exiting successfully\n"); - gras_socket_close(sock); - - gras_exit(); - return 0; -} diff --git a/teshsuite/gras/trp_file_usage.tesh b/teshsuite/gras/trp_file_usage.tesh deleted file mode 100644 index 7301ad8e48..0000000000 --- a/teshsuite/gras/trp_file_usage.tesh +++ /dev/null @@ -1,8 +0,0 @@ - -$ PATH=".:gras:$PATH" trp_file_server$EXEEXT - -$ sleep 1 - -$ PATH=".:gras:$PATH" trp_file_client$EXEEXT - - diff --git a/teshsuite/gras/trp_tcp_client.c b/teshsuite/gras/trp_tcp_client.c deleted file mode 100644 index 55aa60268e..0000000000 --- a/teshsuite/gras/trp_tcp_client.c +++ /dev/null @@ -1,51 +0,0 @@ -/* $Id$ */ - -/* trp_tcp_client: Client of a test case for the tcp transport. */ - -/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#ifdef __BORLANDC__ -#pragma hdrstop -#endif - -#include -#include "gras.h" -#include "gras/Transport/transport_interface.h" - -XBT_LOG_NEW_CATEGORY(test,"Logging for this test"); - -int main(int argc,char *argv[]) { - gras_socket_t sock; - char data_send[256]; - char data_recv[256]; - - memset(data_send, 0, sizeof(data_send)); - memset(data_recv, 0, sizeof(data_recv)); - - gras_init(&argc,argv); - - fprintf(stderr,"===[CLIENT]=== Contact the server\n"); - sock = gras_socket_client(NULL,55555); - - sprintf(data_send,"Hello, I am a little test data to send."); - fprintf(stderr,"===[CLIENT]=== Send data\n"); - gras_trp_send(sock,data_send, sizeof(data_send),1); - gras_trp_flush(sock); - fprintf(stderr,"===[CLIENT]=== Waiting for the ACK\n"); - gras_trp_recv(sock,data_recv, sizeof(data_recv)); - - if (strcmp(data_send, data_recv)) { - fprintf(stderr, "===[CLIENT]=== String sent != string received\n"); - xbt_abort(); - } - fprintf(stderr,"===[CLIENT]=== Got a valid ACK\n"); - - fprintf(stderr,"===[CLIENT]=== Exiting successfully\n"); - gras_socket_close(sock); - - gras_exit(); - return 0; -} diff --git a/teshsuite/gras/trp_tcp_server.c b/teshsuite/gras/trp_tcp_server.c deleted file mode 100644 index dfbc31d90a..0000000000 --- a/teshsuite/gras/trp_tcp_server.c +++ /dev/null @@ -1,48 +0,0 @@ -/* $Id$ */ - -/* trp_tcp_server: Server of a test case for the tcp transport. */ - -/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#ifdef __BORLANDC__ -#pragma hdrstop -#endif - -#include -#include "gras.h" -#include "gras/Transport/transport_interface.h" - -XBT_LOG_NEW_CATEGORY(test,"Logging for this test"); - -#ifdef __BORLANDC__ -#pragma argsused -#endif - -int main(int argc,char *argv[]) { - gras_socket_t sock, conn; - char data_recv[256]; - - gras_init(&argc,argv); - - fprintf(stderr,"===[SERVER]=== Create the socket\n"); - sock = gras_socket_server(55555); - - fprintf(stderr,"===[SERVER]=== Waiting for incomming connexions\n"); - conn = gras_trp_select(60); - - fprintf(stderr,"===[SERVER]=== Contacted ! Waiting for the data\n"); - gras_trp_recv(conn,data_recv, sizeof(data_recv)); - fprintf(stderr,"===[SERVER]=== Got '%s'. Send it back.\n", data_recv); - gras_trp_send(conn,data_recv, sizeof(data_recv),1); - gras_trp_flush(conn); - gras_socket_close(conn); - - fprintf(stderr,"===[SERVER]=== Exiting successfully\n"); - gras_socket_close(sock); - - gras_exit(); - return 0; -} diff --git a/teshsuite/gras/trp_tcp_usage.tesh b/teshsuite/gras/trp_tcp_usage.tesh deleted file mode 100644 index 50d79acf86..0000000000 --- a/teshsuite/gras/trp_tcp_usage.tesh +++ /dev/null @@ -1,8 +0,0 @@ - -& PATH=".:gras:$PATH" trp_tcp_server$EXEEXT - -$ sleep 1 - -$ PATH=".:gras:$PATH" trp_tcp_client$EXEEXT - -