[C-MPI-commits] SF.net SVN: c-mpi:[45] test/cmpi
Status: Pre-Alpha
Brought to you by:
jmwozniak
|
From: <jmw...@us...> - 2010-04-28 20:51:57
|
Revision: 45
http://c-mpi.svn.sourceforge.net/c-mpi/?rev=45&view=rev
Author: jmwozniak
Date: 2010-04-28 20:51:51 +0000 (Wed, 28 Apr 2010)
Log Message:
-----------
Rename to test/cmpi/test-tables .
Added Paths:
-----------
test/cmpi/test-tables.c
test/cmpi/test-tables.zsh
Removed Paths:
-------------
test/cmpi/test02.c
test/cmpi/test02.zsh
Copied: test/cmpi/test-tables.c (from rev 43, test/cmpi/test02.c)
===================================================================
--- test/cmpi/test-tables.c (rev 0)
+++ test/cmpi/test-tables.c 2010-04-28 20:51:51 UTC (rev 45)
@@ -0,0 +1,24 @@
+
+/**
+ Assemble and debug tables.
+*/
+
+#include "test_helpers.h"
+
+void
+cmpi_client_code()
+{
+ NOTE_F;
+
+ gossip_set_debug_mask(1, MASK_MPIRPC|MASK_DHT);
+
+ wait_for_notification();
+ notify_next();
+
+ cmpi_debug_tables();
+
+ sleep(mpi_rank);
+
+ if (mpi_rank == mpi_size-1)
+ cmpi_shutdown();
+}
Property changes on: test/cmpi/test-tables.c
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: test/cmpi/test-tables.zsh (from rev 43, test/cmpi/test02.zsh)
===================================================================
--- test/cmpi/test-tables.zsh (rev 0)
+++ test/cmpi/test-tables.zsh 2010-04-28 20:51:51 UTC (rev 45)
@@ -0,0 +1,36 @@
+#!/bin/zsh
+
+# Be sure to make tests with D=1
+
+# set -x
+
+source tools/test-helpers.zsh
+
+PROGRAM=$1
+OUT=${PROGRAM%.x}.out
+shift
+LAUNCH=${*}
+
+if (( USE_COMM_WORLD == 1 ))
+then
+
+ # KDA-2A execution (3 nodes, 2 clients):
+ mpiexec -n 5 ${PROGRAM} -n 3 >& ${OUT}
+ CODE=$?
+ [[ ${CODE} == 0 ]] || crash "exit code was: ${CODE}"
+
+else
+
+ # KDA-2B execution:
+
+ tools/startup_nodes.zsh $(( N-1 )) 100 &
+ mpiexec -n 1 test/cmpi/test01.x > CLIENT.out
+ sleep $(( N+15 ))
+
+fi
+
+# Should be 5 "Normal exit."s
+N=$( grep -c "Normal exit." ${OUT} )
+(( N == 5 )) || crash "N != 5"
+
+exit 0
Property changes on: test/cmpi/test-tables.zsh
___________________________________________________________________
Added: svn:mergeinfo
+
Deleted: test/cmpi/test02.c
===================================================================
--- test/cmpi/test02.c 2010-04-28 20:51:23 UTC (rev 44)
+++ test/cmpi/test02.c 2010-04-28 20:51:51 UTC (rev 45)
@@ -1,24 +0,0 @@
-
-/**
- Assemble and debug tables.
-*/
-
-#include "test_helpers.h"
-
-void
-cmpi_client_code()
-{
- NOTE_F;
-
- gossip_set_debug_mask(1, MASK_MPIRPC|MASK_DHT);
-
- wait_for_notification();
- notify_next();
-
- cmpi_debug_tables();
-
- sleep(mpi_rank);
-
- if (mpi_rank == mpi_size-1)
- cmpi_shutdown();
-}
Deleted: test/cmpi/test02.zsh
===================================================================
--- test/cmpi/test02.zsh 2010-04-28 20:51:23 UTC (rev 44)
+++ test/cmpi/test02.zsh 2010-04-28 20:51:51 UTC (rev 45)
@@ -1,36 +0,0 @@
-#!/bin/zsh
-
-# Be sure to make tests with D=1
-
-# set -x
-
-source tools/test-helpers.zsh
-
-PROGRAM=$1
-OUT=${PROGRAM%.x}.out
-shift
-LAUNCH=${*}
-
-if (( USE_COMM_WORLD == 1 ))
-then
-
- # KDA-2A execution (3 nodes, 2 clients):
- mpiexec -n 5 ${PROGRAM} -n 3 >& ${OUT}
- CODE=$?
- [[ ${CODE} == 0 ]] || crash "exit code was: ${CODE}"
-
-else
-
- # KDA-2B execution:
-
- tools/startup_nodes.zsh $(( N-1 )) 100 &
- mpiexec -n 1 test/cmpi/test01.x > CLIENT.out
- sleep $(( N+15 ))
-
-fi
-
-# Should be 5 "Normal exit."s
-N=$( grep -c "Normal exit." ${OUT} )
-(( N == 5 )) || crash "N != 5"
-
-exit 0
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|