content.txt
5.45 KB
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
!1 User Story 80: Optimisation of parameter calculation 1
http://yahscrum.akka.eu:8080/icescrum/p/AMDAKERNEL-80
!define path {../test/FitNesseRoot/ReleaseS/FirstPart/ReLease2/SprinT2/UserStory80/}
!define executable {EXE_AMDA_Kernel}
!2 Description
Implement mechanism to check if *.so for parameter exists already and compilation is not needed.
!2 Liste des tests
!4 Tests :
!|script|TestAmdaCommandLine|
|set|${path}|path|
!3 ID-137 US-63
!4 description test
Execute test for US63 two times
!-expression_component => atan(imf[2]/imf[1]) + speed/100.0-!
1: check that there is no corresponding *so and compile expression
2: check that there is corresponding *so and use it
Compare execution time in both cases
!4 Tests :
!|script|TestCommandLine|
|reference|US 80: id 137|id test|
|note|changement du a la non existante du .so|
|check|execute|rm -f lib/expression_component.so|command|comdRm|alias|0|
|check|execute|!-/usr/bin/time -f %E EXE_AMDA_Kernel -f iso -p expression_component -s 2008000003030000 -d 0000000010000000 -!|command|comd1|alias|0|
|check|execute|!-grep "compilation expression" example.log -!|command|grep1|alias|0|
|check|execute|!-echo "`cat ${comd1:ERRPUT} | awk -F: '{print 60 * $1 + $2}'`" -!|command|GetTime1|alias|0|
|show|read|!-${GetTime1:OUTPUT}-!|file|
|check|execute|!-/usr/bin/time -f %E EXE_AMDA_Kernel -f iso -p expression_component -s 2008000003030000 -d 0000000010000000 -!|command|comd2|alias|0|
|check|execute|!-grep "compilation expression" example.log -!|command|grep2|alias|1|
|check|execute|!-echo "`cat ${comd2:ERRPUT} | awk -F: '{print 60 * $1 + $2}'`" -!|command|GetTime2|alias|0|
|show|read|!-${GetTime2:OUTPUT}-!|file|
!3 teste de la concurrence des processus
!4 description test
lancement en parallele de 2 même requetes
Compare execution time in both cases
!4 Tests :
!|script|TestCommandLine|
|reference|US 80: id 137-1|id test|
|check|execute|rm -f lib/expression_component.so|command|comdRm|alias|0|
|check|execute|!-EXE_AMDA_Kernel -f iso -p expression_component -s 2008000003030000 -d 0000000010000000 -w . & EXE_AMDA_Kernel -f iso -p expression_component -s 2008000003030000 -d 0000000010000000 -w ./userFictif;sleep 3 -!|command|comd1|alias|0|
|check|execute|!- diff output-expression_component_2008000003030000.txt ./userFictif/output-expression_component_2008000003030000.txt -!|command|comd2|alias|0|
!3 ID-137-2 modify param.xml
!4 description test
mdf expression_component.xml
!4 Tests :
!|script|TestCommandLine|
|reference|US 80: id 137-2|id test|
|note|changement du a la non existante du .so|
|check|execute|touch ../config/DataBaseParameters/expression_component.xml|command|comdtouch|alias|0|
|check|execute|!-/usr/bin/time -f %E EXE_AMDA_Kernel -f iso -p expression_component -s 2008000003030000 -d 0000000010000000 -!|command|comd1|alias|0|
|check|execute|!-grep "compilation expression" example.log -!|command|grep1|alias|0|
|check|execute|!-echo "`cat ${comd1:ERRPUT} | awk -F: '{print 60 * $1 + $2}'`" -!|command|GetTime1|alias|0|
|show|read|!-${GetTime1:OUTPUT}-!|file|
|check|execute|!-/usr/bin/time -f %E EXE_AMDA_Kernel -f iso -p expression_component -s 2008000003030000 -d 0000000010000000 -!|command|comd2|alias|0|
|check|execute|!-grep "compilation expression" example.log -!|command|grep2|alias|1|
|check|execute|!-echo "`cat ${comd2:ERRPUT} | awk -F: '{print 60 * $1 + $2}'`" -!|command|GetTime2|alias|0|
|show|read|!-${GetTime2:OUTPUT}-!|file|
!3 ID-137-4 modify ss-param.xml
!4 description test
mdf imf.xml
!4 Tests :
!|script|TestCommandLine|
|reference|US 80: id 137-3|id test|
|note|changement du a la non existante du .so|
|check|execute|touch ../config/DataBaseParameters/imf.xml|command|comdtouch|alias|0|
|check|execute|!-/usr/bin/time -f %E EXE_AMDA_Kernel -f iso -p expression_component -s 2008000003030000 -d 0000000010000000 -!|command|comd1|alias|0|
|check|execute|!-grep "compilation expression" example.log -!|command|grep1|alias|0|
|check|execute|!-echo "`cat ${comd1:ERRPUT} | awk -F: '{print 60 * $1 + $2}'`" -!|command|GetTime1|alias|0|
|show|read|!-${GetTime1:OUTPUT}-!|file|
|check|execute|!-/usr/bin/time -f %E EXE_AMDA_Kernel -f iso -p expression_component -s 2008000003030000 -d 0000000010000000 -!|command|comd2|alias|0|
|check|execute|!-grep "compilation expression" example.log -!|command|grep2|alias|1|
|check|execute|!-echo "`cat ${comd2:ERRPUT} | awk -F: '{print 60 * $1 + $2}'`" -!|command|GetTime2|alias|0|
|show|read|!-${GetTime2:OUTPUT}-!|file|
!3 ID-137-4 modify *.hh
!4 description test
mdf ram_pressure.hh
!4 Tests :
!|script|TestCommandLine|
|reference|US 80: id 137-4|id test|
|note|changement du a la non existante du .so|
|check|execute|touch ../build/*/plugin/ram_pressure/ram_pressure.hh|command|comdtouch|alias|0|
|check|execute|!-/usr/bin/time -f %E EXE_AMDA_Kernel -f iso -p ram_pressure -s 2008000003030000 -d 0000000010000000 -!|command|comd1|alias|0|
|check|execute|!-grep "compilation expression" example.log -!|command|grep1|alias|0|
|check|execute|!-echo "`cat ${comd1:ERRPUT} | awk -F: '{print 60 * $1 + $2}'`" -!|command|GetTime1|alias|0|
|show|read|!-${GetTime1:OUTPUT}-!|file|
|check|execute|!-/usr/bin/time -f %E EXE_AMDA_Kernel -f iso -p ram_pressure -s 2008000003030000 -d 0000000010000000 -!|command|comd2|alias|0|
|check|execute|!-grep "compilation expression" example.log -!|command|grep2|alias|1|
|check|execute|!-echo "`cat ${comd2:ERRPUT} | awk -F: '{print 60 * $1 + $2}'`" -!|command|GetTime2|alias|0|
|show|read|!-${GetTime2:OUTPUT}-!|file|
!2 Gestion des modifications
Sans Objet