Commit f536e90b authored by Claes's avatar Claes Committed by Esteban Blanc

Regression tests in project pwrtest01 added

parent ccdc4f7d
......@@ -92,6 +92,7 @@ if [ ! -e $pwra_db ]; then
fi
echo "pwra_db $pwra_db"
cp $pwre_croot/src/tools/pkg/deb/adm/* $pwra_db/
echo "CVolPwrtest01 0.0.254.254 pwrtest01" >> $pwra_db/pwr_volumelist.dat
echo "VolPwrTest01a 0.254.254.201 pwrtest01" >> $pwra_db/pwr_volumelist.dat
echo "VolPwrTest01b 0.254.254.202 pwrtest01" >> $pwra_db/pwr_volumelist.dat
echo "VolPwrTest01c 0.254.254.203 pwrtest01" >> $pwra_db/pwr_volumelist.dat
......@@ -115,6 +116,11 @@ EOF
wb_cmd @initdir
echo "* Build class volume"
co_convert -so -d $pwrp_inc $pwrp_db/cvolpwrtest01.wb_load
co_convert -po -d $pwrp_inc $pwrp_db/cvolpwrtest01.wb_load
wb_cmd -q create snapshot/file=\"$pwrp_db/cvolpwrtest01.wb_load\"/out=\"$pwrp_load/cvolpwrtest01.dbs\"
echo "* Load volpwrtest01a"
wb_cmd wb load/nofocode/load=\"$pwrp_db/volpwrtest01a.wb_dmp\"/out=\"$pwrp_db/volpwrtest01a.lis\"
......
......@@ -2,12 +2,90 @@ my : demo_all
include $(pwr_exe)/pwrp_rules.mk
demo_modules = $(pwrp_exe)/ra_status
demo_modules = $(pwrp_exe)/ra_status \
$(pwrp_exe)/ra_plctest \
$(pwrp_exe)/ra_gdhtest \
$(pwrp_exe)/ra_timetest \
$(pwrp_exe)/ra_nettimetest \
$(pwrp_exe)/ra_cdhtest \
$(pwrp_exe)/ra_errhtest \
$(pwrp_exe)/ra_aproctest \
$(pwrp_exe)/ra_mhtest \
$(pwrp_exe)/ra_mhappltest \
$(pwrp_exe)/ra_qcomtest \
$(pwrp_exe)/ra_qmontest \
$(pwrp_exe)/ra_pwrrttest.py \
$(pwrp_exe)/ra_ccmtest.rtt_com \
$(pwrp_exe)/ra_xttscripttest.rtt_com \
$(pwrp_exe)/ra_testall_c.sh \
$(pwrp_obj)/ra_plc_user.o
demo_all : $(demo_modules)
$(pwrp_exe)/ra_status : $(pwrp_appl)/ra_status.c
$(pwrp_exe)/ra_status : $(pwrp_appl)/ra_status.cpp
@ echo "Building ra_status"
@ g++ -g -o $(target) $(source) -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt
@ g++ -g -o $(target) $(source) $(pwr_obj)/pwr_msg_rt.o -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt
$(pwrp_exe)/ra_plctest : $(pwrp_appl)/ra_plctest.cpp
@ echo "Building ra_plctest"
@ g++ -g -o $(target) $(source) $(pwr_obj)/pwr_msg_rt.o -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt -Wall
$(pwrp_exe)/ra_gdhtest : $(pwrp_appl)/ra_gdhtest.cpp $(pwrp_appl)/ra_gdhtest.h
@ echo "Building ra_gdhtest"
@ g++ -g -o $(target) $(source) $(pwr_obj)/pwr_msg_co.o $(pwr_obj)/pwr_msg_rt.o -I$(pwrp_inc) -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt -Wall
$(pwrp_exe)/ra_timetest : $(pwrp_appl)/ra_timetest.cpp $(pwrp_appl)/ra_timetest.h
@ echo "Building ra_timetest"
@ g++ -g -o $(target) $(source) $(pwr_obj)/pwr_msg_co.o $(pwr_obj)/pwr_msg_rt.o -I$(pwrp_inc) -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt -Wall
$(pwrp_exe)/ra_nettimetest : $(pwrp_appl)/ra_nettimetest.cpp $(pwrp_appl)/ra_nettimetest.h
@ echo "Building ra_nettimetest"
@ g++ -g -o $(target) $(source) $(pwr_obj)/pwr_msg_co.o $(pwr_obj)/pwr_msg_rt.o -I$(pwrp_inc) -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt -Wall
$(pwrp_exe)/ra_cdhtest : $(pwrp_appl)/ra_cdhtest.cpp $(pwrp_appl)/ra_cdhtest.h
@ echo "Building ra_cdhtest"
@ g++ -g -o $(target) $(source) $(pwr_obj)/pwr_msg_co.o $(pwr_obj)/pwr_msg_rt.o -I$(pwrp_inc) -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt -Wall
$(pwrp_exe)/ra_errhtest : $(pwrp_appl)/ra_errhtest.cpp $(pwrp_appl)/ra_errhtest.h
@ echo "Building ra_errhtest"
@ g++ -g -o $(target) $(source) $(pwr_obj)/pwr_msg_co.o $(pwr_obj)/pwr_msg_rt.o $(pwr_obj)/pwr_msg_rs.o -I$(pwrp_inc) -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt -Wall
$(pwrp_exe)/ra_aproctest : $(pwrp_appl)/ra_aproctest.cpp $(pwrp_appl)/ra_aproctest.h
@ echo "Building ra_aproctest"
@ g++ -g -o $(target) $(source) $(pwr_obj)/pwr_msg_co.o $(pwr_obj)/pwr_msg_rt.o $(pwr_obj)/pwr_msg_rs.o -I$(pwrp_inc) -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt -Wall
$(pwrp_exe)/ra_mhtest : $(pwrp_appl)/ra_mhtest.cpp $(pwrp_appl)/ra_mhtest.h
@ echo "Building ra_mhtest"
@ g++ -g -o $(target) $(source) $(pwr_obj)/pwr_msg_co.o $(pwr_obj)/pwr_msg_rt.o $(pwr_obj)/pwr_msg_rs.o -I$(pwrp_inc) -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt -Wall
$(pwrp_exe)/ra_mhappltest : $(pwrp_appl)/ra_mhappltest.cpp $(pwrp_appl)/ra_mhappltest.h
@ echo "Building ra_mhappltest"
@ g++ -g -o $(target) $(source) $(pwr_obj)/pwr_msg_co.o $(pwr_obj)/pwr_msg_rt.o $(pwr_obj)/pwr_msg_rs.o -I$(pwrp_inc) -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt -Wall
$(pwrp_exe)/ra_qcomtest : $(pwrp_appl)/ra_qcomtest.cpp $(pwrp_appl)/ra_qcomtest.h
@ echo "Building ra_qcomtest"
@ g++ -g -o $(target) $(source) $(pwr_obj)/pwr_msg_co.o $(pwr_obj)/pwr_msg_rt.o $(pwr_obj)/pwr_msg_rs.o -I$(pwrp_inc) -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt -Wall
$(pwrp_exe)/ra_qmontest : $(pwrp_appl)/ra_qmontest.cpp $(pwrp_appl)/ra_qmontest.h
@ echo "Building ra_qmontest"
@ g++ -g -o $(target) $(source) $(pwr_obj)/pwr_msg_co.o $(pwr_obj)/pwr_msg_rt.o $(pwr_obj)/pwr_msg_rs.o -I$(pwrp_inc) -I$(pwr_inc) -L$(pwr_lib) -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt -Wall
$(pwrp_exe)/ra_pwrrttest.py : $(pwrp_appl)/ra_pwrrttest.py
@ echo "Building ra_pwrrttest"
@ cp -p $(source) $(target)
$(pwrp_exe)/ra_ccmtest.rtt_com : $(pwrp_appl)/ra_ccmtest.rtt_com
@ echo "Building ra_ccmtest"
@ cp -p $(source) $(target)
$(pwrp_exe)/ra_xttscripttest.rtt_com : $(pwrp_appl)/ra_xttscripttest.rtt_com
@ echo "Building ra_xttscripttest"
@ cp -p $(source) $(target)
$(pwrp_exe)/ra_testall_c.sh : $(pwrp_appl)/ra_testall_c.sh
@ echo "Building ra_testall_c"
@ cp -p $(source) $(target)
$(pwrp_obj)/ra_plc_user.o : $(pwrp_appl)/ra_plc_user.c
This diff is collapsed.
This diff is collapsed.
! Generated by wb_print_wbl 03-JUN-2020 15:29:56.68
! Generated by wb_print_wbl 03-JUN-2020 19:45:06.65
! Volume directory
! Version V5.7.1
Volume directory $DirectoryVolume 254.254.254.253
......@@ -16,7 +16,7 @@ Volume directory $DirectoryVolume 254.254.254.253
Attr BusNumber = 999
EndBody
Object PwrTest01a NodeConfig 10 25-MAR-2020 09:04:16.06
Body RtBody 27-APR-2020 09:55:35.94
Body RtBody 03-JUN-2020 19:45:06.62
Attr NodeName = "pwrtest01a"
Attr OperatingSystem = 128
Attr Address = "10.255.100.1"
......@@ -42,7 +42,7 @@ Volume directory $DirectoryVolume 254.254.254.253
EndObject
EndObject
Object PwrTest01b NodeConfig 26 25-MAR-2020 09:06:55.29
Body RtBody 27-APR-2020 09:55:44.89
Body RtBody 03-JUN-2020 19:45:06.62
Attr NodeName = "pwrtest01b"
Attr OperatingSystem = 128
Attr Address = "10.255.100.2"
......@@ -68,7 +68,7 @@ Volume directory $DirectoryVolume 254.254.254.253
EndObject
EndObject
Object PwrTest01c NodeConfig 33 26-MAR-2020 10:23:36.40
Body RtBody 01-JUN-2020 10:06:13.82
Body RtBody 03-JUN-2020 19:45:06.62
Attr NodeName = "pwrtest01c"
Attr OperatingSystem = 128
Attr Address = "127.0.0.1"
......@@ -170,7 +170,7 @@ Volume directory $DirectoryVolume 254.254.254.253
EndObject
EndObject
Object PwrTest01d SevNodeConfig 38 26-MAR-2020 10:24:30.82
Body RtBody 27-APR-2020 09:55:51.41
Body RtBody 03-JUN-2020 19:45:06.62
Attr NodeName = "pwrtest01d"
Attr OperatingSystem = 128
Attr Address = "10.255.100.3"
......
......@@ -2,3 +2,4 @@ VolPwrTest01a 0.254.254.201 PwrTest01a pwrtest01a 999 128 0.000000 0
VolPwrTest01b 0.254.254.202 PwrTest01b pwrtest01b 999 128 0.000000 0
VolPwrTest01c 0.254.254.203 PwrTest01c pwrtest01c 999 128 0.000000 0
VolPwrTest01d 0.254.254.204 PwrTest01d pwrtest01d 999 128 0.000000 1
VolPwrTest01c 0.254.254.203 PwrTest01c copper-arrow 998 128 0.000000 0
......@@ -65,10 +65,60 @@ appl pwrtest01c S $pwrp_web/*.jpg
appl pwrtest01c S $pwrp_web/*.pdf
appl pwrtest01c S $pwrp_web/*.pwg
appl pwrtest01c E $pwrp_exe/ra_status
appl pwrtest01c E $pwrp_exe/ra_aproctest
appl pwrtest01c E $pwrp_exe/ra_cdhtest
appl pwrtest01c E $pwrp_exe/ra_errhtest
appl pwrtest01c E $pwrp_exe/ra_gdhtest
appl pwrtest01c E $pwrp_exe/ra_mhappltest
appl pwrtest01c E $pwrp_exe/ra_mhtest
appl pwrtest01c E $pwrp_exe/ra_nettimetest
appl pwrtest01c E $pwrp_exe/ra_plctest
appl pwrtest01c E $pwrp_exe/ra_pwrrttest.py
appl pwrtest01c E $pwrp_exe/ra_qcomtest
appl pwrtest01c E $pwrp_exe/ra_qmontest
appl pwrtest01c E $pwrp_exe/ra_timetest
appl pwrtest01c E $pwrp_exe/ra_ccmtest.rtt_com
appl pwrtest01c E $pwrp_exe/ra_xttscripttest.rtt_com
appl pwrtest01c E $pwrp_exe/ra_testall_c.sh
node pwrtest01d 128 999 0 - -
load pwrtest01d
appl pwrtest01d W $pwrp_cnf/pwrtest01d/pwr_user2.dat:$pwra_db/pwr_user2.dat $pwra_db/pwr_user2.dat
appl pwrtest01d W $pwrp_cnf/pwrtest01d/authorized_keys:$pwra_db/authorized_keys /home/pwrp/.ssh/authorized_keys
node copper-arrow 128 998 0 - -
load copper-arrow
appl copper-arrow W $pwrp_cnf/copper-arrow/pwr_user2.dat:$pwra_db/pwr_user2.dat $pwra_db/pwr_user2.dat
appl copper-arrow W $pwrp_load/ld_appl_copper-arrow_998.txt $pwrp_load/
appl copper-arrow W $pwrp_load/pwrp_alias.dat $pwrp_load/pwrp_alias.dat
appl copper-arrow W $pwrp_inc/*.h
appl copper-arrow W $pwrp_exe/*.pwg
appl copper-arrow W $pwrp_load/copper-arrow/xtt_help.dat:$pwrp_load/xtt_help.dat $pwrp_load/xtt_help.dat
appl copper-arrow W $pwrp_load/copper-arrow/b55/Rt_xtt:$pwrp_load/copper-arrow/Rt_xtt:$pwrp_load/Rt_xtt /home/b55/Rt_xtt
appl copper-arrow S $pwrp_load/copper-arrow/pwrp/Rt_xtt /home/pwrp/Rt_xtt
appl copper-arrow W $pwrp_load/copper-arrow/b55/xtt_setup.rtt_com:$pwrp_load/copper-arrow/xtt_setup.rtt_com:$pwrp_load/xtt_setup.rtt_com /home/b55/xtt_setup.rtt_com
appl copper-arrow S $pwrp_load/copper-arrow/pwrp/xtt_setup.rtt_com /home/pwrp/xtt_setup.rtt_com
appl copper-arrow W $pwrp_load/*.flw
appl copper-arrow W $pwrp_cnf/copper-arrow/.rhosts:$pwra_db/.rhosts /home/pwrp/.rhosts
appl copper-arrow W $pwrp_web/*.html
appl copper-arrow S $pwrp_web/*.jar
appl copper-arrow S $pwrp_web/*.gif
appl copper-arrow S $pwrp_web/*.png
appl copper-arrow S $pwrp_web/*.jpg
appl copper-arrow S $pwrp_web/*.pdf
appl copper-arrow S $pwrp_web/*.pwg
appl copper-arrow E $pwrp_exe/ra_status
appl copper-arrow E $pwrp_exe/ra_aproctest
appl copper-arrow E $pwrp_exe/ra_cdhtest
appl copper-arrow E $pwrp_exe/ra_errhtest
appl copper-arrow E $pwrp_exe/ra_gdhtest
appl copper-arrow E $pwrp_exe/ra_mhappltest
appl copper-arrow E $pwrp_exe/ra_mhtest
appl copper-arrow E $pwrp_exe/ra_nettimetest
appl copper-arrow E $pwrp_exe/ra_plctest
appl copper-arrow E $pwrp_exe/ra_pwrrttest.py
appl copper-arrow E $pwrp_exe/ra_qcomtest
appl copper-arrow E $pwrp_exe/ra_qmontest
appl copper-arrow E $pwrp_exe/ra_timetest
appl copper-arrow E $pwrp_exe/ra_testall_c.sh
builddir pop 2 ""
buildcopy pop $pwrp_pop/*.pwg $pwrp_exe/
buildcopy pop $pwrp_pop/*.pwg $pwrp_web/
......
pwrtest01
Common
\ No newline at end of file
common
\ No newline at end of file
CVolPwrtest01 0.0.254.254 ClassVolume cnf 0
VolPwrTest01a 0.254.254.201 RootVolume cnf 0
VolPwrTest01b 0.254.254.202 RootVolume cnf 0
VolPwrTest01c 0.254.254.203 RootVolume cnf 0
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment