yaffs Changes to direct tests
[yaffs2.git] / direct / tests / launch_tests.sh
index 31e9e95..1005ff2 100755 (executable)
@@ -1,5 +1,12 @@
 #! /bin/sh
 set -x
+
+
+iterations=100000
+
+[ -z $1 ]  || iterations=$1
+
+
 LAUNCHDIR=`pwd`
 RUNDIR=`pwd`/tmp
 mkdir $RUNDIR
@@ -8,9 +15,9 @@ sudo chmod a+wr $RUNDIR
 
 
 
-xterm  -e "$LAUNCHDIR/manage_nor_test.sh  0"&
-xterm  -e "$LAUNCHDIR/manage_nand_test.sh 0"&
-xterm  -e "$LAUNCHDIR/manage_nor_test.sh  1"&
-xterm  -e "$LAUNCHDIR/manage_nand_test.sh 1"&
-xterm  -e "$LAUNCHDIR/manage_nor_test.sh  2"&
-xterm  -e "$LAUNCHDIR/manage_nand_test.sh 2"&
+xterm  -e "$LAUNCHDIR/manage_nor_test.sh  0 $iterations"&
+xterm  -e "$LAUNCHDIR/manage_nand_test.sh  0 $iterations"&
+xterm  -e "$LAUNCHDIR/manage_nor_test.sh  1 $iterations"&
+xterm  -e "$LAUNCHDIR/manage_nand_test.sh  1 $iterations"&
+xterm  -e "$LAUNCHDIR/manage_nor_test.sh  2 $iterations"&
+xterm  -e "$LAUNCHDIR/manage_nand_test.sh  2 $iterations"&