]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[DAPL2] added tests used at the OFA interoperability 2007 event.
authorstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 6 Dec 2007 01:09:08 +0000 (01:09 +0000)
committerstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 6 Dec 2007 01:09:08 +0000 (01:09 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@911 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/ulp/dapl2/test/dapltest/scripts/dt-cli.bat

index 2d29b2993eea98a06080bfcbb13e50a1607935e6..fd2827bdd628761c256e679c501b447eb8830804 100644 (file)
@@ -192,26 +192,38 @@ if "%T%" == "regression" (
     FOR /L %%i IN (1,1,%L%) DO (\r
          call %0 %1 trans\r
          if ERRORLEVEL 1 exit /B\r
+\r
          call %0 %1 perf\r
          if ERRORLEVEL 1 exit /B\r
+\r
          call %0 %1 threads\r
          if ERRORLEVEL 1 exit /B\r
+\r
          call %0 %1 threadsm\r
          if ERRORLEVEL 1 exit /B\r
+\r
          call %0 %1 transm\r
          if ERRORLEVEL 1 exit /B\r
+\r
          call %0 %1 transt\r
          if ERRORLEVEL 1 exit /B\r
+\r
          call %0 %1 transme\r
          if ERRORLEVEL 1 exit /B\r
+\r
          call %0 %1 transmet\r
          if ERRORLEVEL 1 exit /B\r
+\r
          call %0 %1 transmete\r
          if ERRORLEVEL 1 exit /B\r
+\r
          call %0 %1 rdma-write\r
          if ERRORLEVEL 1 exit /B\r
+         timeout /T 3\r
+\r
          call %0 %1 rdma-read\r
          if ERRORLEVEL 1 exit /B\r
+\r
          call %0 %1 bw\r
          if ERRORLEVEL 1 exit /B\r
          echo %%i %T% loops completed.\r
@@ -219,6 +231,57 @@ if "%T%" == "regression" (
     exit /B\r
 )\r
 \r
+if "%T%" == "interop" (\r
+    if "%X%" == "" (\r
+        if not "%3" == "" (\r
+            set L=%3\r
+        )\r
+    ) else (\r
+        if not "%4" == "" (\r
+            set L=%4\r
+        )\r
+    )\r
+    rem change % to ! - run cmd.exe /V:ON for loop count changes from cmd line\r
+    echo %T% testing in %L% Loops\r
+    REM test units from Nov-'07 OFA interop event\r
+    FOR /L %%i IN (0,1,1) DO (\r
+         %DT% -T T -s %S% -D %D% -i 4096 -t 1 -w 1 -R BE client SR 256 1 server SR 256 1\r
+         if ERRORLEVEL 1 exit /B\r
+         timeout /T 3\r
+         %DT% -T T -s %S% -D %D% -i 100 -t 1 -w 1 -V -P -R BE client SR 1024 3 -f server SR 1536 2 -f\r
+         if ERRORLEVEL 1 exit /B\r
+         timeout /T 3\r
+         %DT% -T T -s %S% -D %D% -i 100 -t 1 -w 1 -V -P -R BE client SR 1024 1 server SR 1024 1\r
+         if ERRORLEVEL 1 exit /B\r
+         timeout /T 3\r
+         %DT% -T T -s %S% -D %D% -i 100 -t 1 -w 10 -V -P -R BE client SR 1024 3 server SR 1536 2\r
+         if ERRORLEVEL 1 exit /B\r
+         timeout /T 3\r
+         %DT% -T T -s %S% -D %D% -i 100 -t 1 -w 1 -V -P -R BE client SR 256 1 server RW 4096 1 server SR 256 1\r
+         if ERRORLEVEL 1 exit /B\r
+         timeout /T 3\r
+         %DT% -T T -s %S% -D %D% -i 100 -t 1 -w 1 -V -P -R BE client SR 256 1 server RR 4096 1 server SR 256 1\r
+         if ERRORLEVEL 1 exit /B\r
+         timeout /T 3\r
+         %DT% -T T -s %S% -D %D% -i 100 -t 4 -w 8 -V -P -R BE client SR 256 1 server RR 4096 1 server SR 256 1 client SR 256 1 server RR 4096 1 server SR 256 1\r
+         if ERRORLEVEL 1 exit /B\r
+         timeout /T 3\r
+         %DT% -T P -s %S% -D %D% -i 1024 -p 64 -m p RW 8192 2\r
+         if ERRORLEVEL 1 exit /B\r
+         timeout /T 3\r
+         %DT% -T P -s %S% -D %D% -i 1024 -p 64 -m p RW 4096 2\r
+         if ERRORLEVEL 1 exit /B\r
+         timeout /T 3\r
+         %DT% -T P -s %S% -D %D% -i 1024 -p 64 -m p RW 4096 1\r
+         if ERRORLEVEL 1 exit /B\r
+         timeout /T 3\r
+         %DT% -T T -s %S% -D %D% -i 100 -t 1 -w 10 -V -P -R BE client SR 1024 3 server SR 1536 2\r
+         if ERRORLEVEL 1 exit /B\r
+         echo %%i %T% loops completed.\r
+    )\r
+    exit /B\r
+)\r
+\r
 if "%T%" == "stop" (\r
     %DT% -T Q -s %S% -D %D%\r
     exit /B\r
@@ -244,6 +307,7 @@ echo     latb - latency tests, blocking for events
 echo     latp - latency tests, polling for events\r
 echo     lim - limit tests.\r
 echo     regression - loop over a collection of all tests.\r
+echo     interop - collection of test-units from OFA interoperability event 2007.\r
 \r
 ENDLOCAL\r
 @echo on\r