Have updated yaffs direct tests and added README files to the tests.
[yaffs2.git] / direct / tests / launch_tests.sh
1 #! /bin/sh
2 set -x
3
4
5 iterations=100000
6
7 [ -z $1 ]  || iterations=$1
8
9
10 LAUNCHDIR=`pwd`
11 RUNDIR=`pwd`/tmp
12 mkdir $RUNDIR
13
14 if [ -z "$(mount | grep $RUNDIR)" ]; then
15 sudo mount -t tmpfs -osize=2G none $RUNDIR
16 sudo chmod a+wr $RUNDIR
17 fi
18
19
20
21
22 xterm  -e "$LAUNCHDIR/manage_nor_test.sh  0 $iterations"&
23 xterm  -e "$LAUNCHDIR/manage_nand_test.sh  0 $iterations"&
24 xterm  -e "$LAUNCHDIR/manage_nor_test.sh  1 $iterations"&
25 xterm  -e "$LAUNCHDIR/manage_nand_test.sh  1 $iterations"&
26 xterm  -e "$LAUNCHDIR/manage_nor_test.sh  2 $iterations"&
27 xterm  -e "$LAUNCHDIR/manage_nand_test.sh  2 $iterations"&