run_compilation_autotests.bash 2.45 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/bin/bash

if [ -s $OPENAIR_DIR/cmake_targets/build_helper.bash ] ; then
   source $OPENAIR_DIR/cmake_targets/build_helper.bash
else
   echo "Error: no file in the file tree: is OPENAIR_DIR variable set?"
   exit 1
fi

tdir=$OPENAIR_DIR/cmake_targets/autotests
mkdir -p $tdir/bin $tdir/log

updated=$(svn st -q $OPENAIR_DIR)
if [ "$updated" != "" ] ; then
	echo_warning "some files are not in svn: $updated"
fi

compilations \
    autotests/test.0101 oaisim \
    oaisim  $tdir/bin/oaisim.r8 \
    $tdir/log/test0101.txt \
	"test 0101:oaisim Rel8 passed" \
    "test 0101:oaisim Rel8 failed"

compilations \
    autotests/test.0102 oaisim \
    oaisim  $tdir/bin/oaisim.r8.nas \
    $tdir/log/test0102.oaisim.txt \
	"test 0102:oaisim Rel8 nas passed" \
    "test 0102:oaisim Rel8 nas failed"
compilations \
    autotests/test.0103 oaisim \
    oaisim  $tdir/bin/oaisim.r8.rf \
    $tdir/log/test0103.txt \
	"test 0103:oaisim rel8 rf passed" \
    "test 0103:oaisim rel8 rf failed"
compilations \
    autotests/test.0104 dlsim \
    dlsim  $tdir/bin/dlsim \
    $tdir/log/test0104.txt \
	"test 0104:dlsim passed" \
    "test 0104:dlsim failed"    
compilations \
    autotests/test.0104 ulsim \
    ulsim  $tdir/bin/ulsim \
    $tdir/log/test0105.txt \
	"test 0105: ulsim passed" \
    "test 0105: ulsim failed"
compilations \
    autotests/test.0106 oaisim \
    oaisim  $tdir/bin/oaisim.r8.itti \
    $tdir/log/test0106.txt \
	"test 0103:oaisim rel8 itti passed" \
    "test 0103:oaisim rel8 itti failed"
compilations \
    autotests/test.0107 oaisim \
    oaisim  $tdir/bin/oaisim.r10 \
    $tdir/log/test0107.txt \
	"test 0103:oaisim rel10 passed" \
    "test 0103:oaisim rel10 failed"
compilations \
    autotests/test.0108 oaisim \
    oaisim  $tdir/bin/oaisim.r10.itti \
   $tdir/log/test0108.txt \
	"test 0108:oaisim rel10 itti passed" \
    "test 0108:oaisim rel10 itti failed"
compilations \
    autotests/test.0114 oaisim \
    oaisim  $tdir/bin/oaisim.r8.itti.ral \
    $tdir/log/test0114.txt \
	"test 0114:oaisim rel8 itti ral passed" \
    "test 0114:oaisim rel8 itti ral failed"
compilations \
    autotests/test.0115 oaisim \
    oaisim  $tdir/bin/oaisim.r10.itti.ral \
    $tdir/log/test0115.txt \
	"test 0114:oaisim rel10 itti ral passed" \
    "test 0114:oaisim rel10 itti ral failed" 
compilations \
    autotests/test.0102 nasmesh \
    CMakeFiles/nasmesh/nasmesh.ko $tdir/bin/nasmesh.ko \
    $tdir/log/test0120.txt \
	"test 0120: nasmesh.ko passed" \
    "test 0120: nasmesk.ko failed"