From 6887fbfd892b121b39e8fbd65237ef34fbddf271 Mon Sep 17 00:00:00 2001 From: "Jose F. Martinez Pedraza" Date: Wed, 11 Aug 2021 13:09:08 -0400 Subject: [PATCH] Fix #812 Start Perf Data before running tests --- .github/workflows/functional-tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/functional-tests.yml b/.github/workflows/functional-tests.yml index 7f0ff0965..0241f2b1e 100644 --- a/.github/workflows/functional-tests.yml +++ b/.github/workflows/functional-tests.yml @@ -63,11 +63,14 @@ jobs: - name: List cpu1 run: ls build/exe/cpu1/ + # Run cFS, send commands to set perf trigger and start perf data, and run functional tests - name: Run cFS run: | ./core-cpu1 & sleep 10 - ../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 & + ../host/cmdUtil --pktid=0x1806 --cmdcode=17 --endian=LE --uint32=3 --uint32=0x40000000 + ../host/cmdUtil --pktid=0x1806 --cmdcode=14 --endian=LE --uint32=2 + ../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 sleep 30 counter=0