Added endianness support for YTIME_T
[yaffs2.git] / direct / test-framework / 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_nor_test.sh  1 $iterations"&
24 xterm  -e "$LAUNCHDIR/manage_nor_test.sh  2 $iterations"&
25
26 xterm  -e "$LAUNCHDIR/manage_m18_test.sh  0 $iterations"&
27 xterm  -e "$LAUNCHDIR/manage_m18_test.sh  1 $iterations"&
28 xterm  -e "$LAUNCHDIR/manage_m18_test.sh  2 $iterations"&
29
30 xterm  -e "$LAUNCHDIR/manage_nand_test.sh  0 $iterations"&
31 xterm  -e "$LAUNCHDIR/manage_nand_test.sh  1 $iterations"&
32 xterm  -e "$LAUNCHDIR/manage_nand_test.sh  2 $iterations"&