boards: use NTFC from pip for citest configs

use NTFC from pip for citest configs

Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
raiden00pl
2026-03-26 13:40:46 +01:00
committed by Lup Yuen Lee
parent 65cfcc4779
commit 4497bacb1c
6 changed files with 6 additions and 36 deletions
@@ -28,21 +28,15 @@ olddir=$(pwd)
nuttdir=${CURRENTCONFDIR}/../../../../../../
cd ${nuttdir}
# enable venv
source ${NTFCDIR}/venv/bin/activate
# run NTFC
confpath=${CURRENTCONFDIR}/config.yaml
jsonconf=${CURRENTCONFDIR}/session.json
testpath=${NTFCDIR}/external/nuttx-testing
python3 -m ntfc test --testpath=${testpath} --confpath=${confpath} --jsonconf=${jsonconf}
ntfc test --testpath=${testpath} --confpath=${confpath} --jsonconf=${jsonconf}
ret="$?"
echo $ret
# disable venv
deactivate
# export test results
artifacts=${ARTIFACTCONFDIR}/ntfc
mkdir -p ${artifacts}
@@ -28,21 +28,15 @@ olddir=$(pwd)
nuttdir=${CURRENTCONFDIR}/../../../../../../
cd ${nuttdir}
# enable venv
source ${NTFCDIR}/venv/bin/activate
# run NTFC
confpath=${CURRENTCONFDIR}/config.yaml
jsonconf=${CURRENTCONFDIR}/session.json
testpath=${NTFCDIR}/external/nuttx-testing
python3 -m ntfc test --testpath=${testpath} --confpath=${confpath} --jsonconf=${jsonconf}
ntfc test --testpath=${testpath} --confpath=${confpath} --jsonconf=${jsonconf}
ret="$?"
echo $ret
# disable venv
deactivate
# export test results
artifacts=${ARTIFACTCONFDIR}/ntfc
mkdir -p ${artifacts}
@@ -28,21 +28,15 @@ olddir=$(pwd)
nuttdir=${CURRENTCONFDIR}/../../../../../../
cd ${nuttdir}
# enable venv
source ${NTFCDIR}/venv/bin/activate
# run NTFC
confpath=${CURRENTCONFDIR}/config.yaml
jsonconf=${CURRENTCONFDIR}/session.json
testpath=${NTFCDIR}/external/nuttx-testing
python3 -m ntfc test --testpath=${testpath} --confpath=${confpath} --jsonconf=${jsonconf}
ntfc test --testpath=${testpath} --confpath=${confpath} --jsonconf=${jsonconf}
ret="$?"
echo $ret
# disable venv
deactivate
# export test results
artifacts=${ARTIFACTCONFDIR}/ntfc
mkdir -p ${artifacts}
@@ -33,21 +33,15 @@ dd if=/dev/zero of=fatfs.img bs=512 count=128K
mkfs.fat fatfs.img
chmod 777 ./fatfs.img
# enable venv
source ${NTFCDIR}/venv/bin/activate
# run NTFC
confpath=${CURRENTCONFDIR}/config.yaml
jsonconf=${CURRENTCONFDIR}/session.json
testpath=${NTFCDIR}/external/nuttx-testing
python3 -m ntfc test --testpath=${testpath} --confpath=${confpath} --jsonconf=${jsonconf}
ntfc test --testpath=${testpath} --confpath=${confpath} --jsonconf=${jsonconf}
ret="$?"
echo $ret
# disable venv
deactivate
# export test results
artifacts=${ARTIFACTCONFDIR}/ntfc
mkdir -p ${artifacts}
@@ -35,7 +35,7 @@ source ${NTFCDIR}/venv/bin/activate
confpath=${CURRENTCONFDIR}/config.yaml
jsonconf=${CURRENTCONFDIR}/session.json
testpath=${NTFCDIR}/external/nuttx-testing
python3 -m ntfc test --testpath=${testpath} --confpath=${confpath} --jsonconf=${jsonconf}
ntfc test --testpath=${testpath} --confpath=${confpath} --jsonconf=${jsonconf}
ret="$?"
echo $ret
+1 -7
View File
@@ -28,21 +28,15 @@ olddir=$(pwd)
nuttdir=${CURRENTCONFDIR}/../../../../../../
cd ${nuttdir}
# enable venv
source ${NTFCDIR}/venv/bin/activate
# run NTFC
confpath=${CURRENTCONFDIR}/config.yaml
jsonconf=${CURRENTCONFDIR}/session.json
testpath=${NTFCDIR}/external/nuttx-testing
python3 -m ntfc test --testpath=${testpath} --confpath=${confpath} --jsonconf=${jsonconf}
ntfc test --testpath=${testpath} --confpath=${confpath} --jsonconf=${jsonconf}
ret="$?"
echo $ret
# disable venv
deactivate
# export test results
artifacts=${ARTIFACTCONFDIR}/ntfc
mkdir -p ${artifacts}