content.txt 5.45 KB
!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