File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 5858 - name : Run cFS
5959 run : |
6060 ./core-cpu1 | tee cFS_startup_cpu1.txt &
61- sleep 20
62- ../host/cmdUtil --pktid=0x1806 --cmdcode=4 --endian=LE --string="20:CFE_APP" --string="20:CFE_TestMain" --string="64:cfe_testcase" --uint32=16384 --uint8=0 --uint8=0 --uint16=100 &
61+ sleep 10
62+ ../host/cmdUtil --pktid=0x1806 --cmdcode=4 --endian=LE --string="20:CFE_TEST_APP" --string="20:CFE_TestMain" --string="64:cfe_testcase" --uint32=16384 --uint8=0 --uint8=0 --uint16=100 &
63+
6364 sleep 30
65+ counter=$(grep -c "CFE_TEST_APP" cFS_startup_cpu1.txt)
66+
67+ while [[ -z $(grep -i "SUMMARY" cFS_startup_cpu1.txt) ]]; do
68+ echo "Waiting for CFE Tests"
69+ sleep 60
70+ temp=$(grep -c "CFE_TEST_APP" cFS_startup_cpu1.txt)
71+
72+ if [ $temp -eq $counter ];
73+ then
74+ echo "Test is frozen. Quiting"
75+ break
76+ fi
77+
78+ counter=$(grep -c "CFE_TEST_APP" cFS_startup_cpu1.txt)
79+ done
6480 ../host/cmdUtil --endian=LE --pktid=0x1806 --cmdcode=2 --half=0x0002
6581 working-directory : ./build/exe/cpu1/
6682
You can’t perform that action at this time.
0 commit comments