summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/specviewperf9/install.sh
blob: c7dbfdf99de361f4e5ca00c7a511c572d20f23a3 (plain)
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#!/bin/sh

tar -xvf SPECViewPerf9-Configure.tar.gz
tar -xvf SPECViewperf9.0.3.tar.gz

cp -f SPECViewPerf9-Configure SPECViewperf9.0/src/Configure
chmod +x SPECViewperf9.0/src/Configure
cd SPECViewperf9.0/src
./Configure
cd ../..

echo "#!/bin/sh

cd SPECViewperf9.0/

if [ ! -e sum_results ]
	then
    mkdir sum_results
fi

if [ ! -e backup_results ]
	then
    mkdir backup_results
fi

case \"\$1\" in
\"3dsmax\")
	if [ ! -e sum_results/3dsmax ]
	then
	    mkdir sum_results/3dsmax
	fi

	./Run_Viewset.csh 3dsmax-04 3dsmax results > /dev/null 2>&1

	cat sum_results/3dsmax/summary.txt > \$LOG_FILE
	;;
\"catia\")
	if [ ! -e sum_results/catia ]
	then
	    mkdir sum_results/catia
	fi

	./Run_Viewset.csh catia-02 catia results > /dev/null 2>&1

	cat sum_results/catia/summary.txt > \$LOG_FILE
	;;
\"ensight\")
	if [ ! -e sum_results/ensight ]
	then
	    mkdir sum_results/ensight
	fi

	./Run_Viewset.csh ensight-03 ensight results > /dev/null 2>&1

	cat sum_results/ensight/summary.txt > \$LOG_FILE
	;;
\"light\")
	if [ ! -e sum_results/light ]
	then
	    mkdir sum_results/light
	fi

	./Run_Viewset.csh light-08 light results > /dev/null 2>&1

	cat sum_results/light/summary.txt > \$LOG_FILE
	;;
\"maya\")
	if [ ! -e sum_results/maya ]
	then
	    mkdir sum_results/maya
	fi

	./Run_Viewset.csh maya-02 maya results > /dev/null 2>&1

	cat sum_results/maya/summary.txt > \$LOG_FILE
	;;
\"proe\")
	if [ ! -e sum_results/proe ]
	then
	    mkdir sum_results/proe
	fi

	./Run_Viewset.csh proe-04 proe results > /dev/null 2>&1

	cat sum_results/proe/summary.txt > \$LOG_FILE
	;;
\"sw\")
	if [ ! -e sum_results/sw ]
	then
	    mkdir sum_results/sw
	fi

	./Run_Viewset.csh sw-01 sw results > /dev/null 2>&1

	cat sum_results/sw/summary.txt > \$LOG_FILE
	;;
\"ugnx\")
	if [ ! -e sum_results/ugnx ]
	then
	    mkdir sum_results/ugnx
	fi

	./Run_Viewset.csh ugnx-01 ugnx results > /dev/null 2>&1

	cat sum_results/ugnx/summary.txt > \$LOG_FILE
	;;
\"tcvis\")
	if [ ! -e sum_results/tcvis ]
	then
	    mkdir sum_results/tcvis
	fi

	./Run_Viewset.csh tcvis-01 tcvis results > /dev/null 2>&1

	cat sum_results/tcvis/summary.txt > \$LOG_FILE
	;;
esac
" > specviewperf9
chmod +x specviewperf9