This is an automated email from the ASF dual-hosted git repository.

lupyuen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 4497bacb1c99b2c0e6a4ce77e820def4825c0931
Author: raiden00pl <[email protected]>
AuthorDate: Thu Mar 26 13:40:46 2026 +0100

    boards: use NTFC from pip for citest configs
    
    use NTFC from pip for citest configs
    
    Signed-off-by: raiden00pl <[email protected]>
---
 boards/arm/imx6/sabre-6quad/configs/citest/run.sh       | 8 +-------
 boards/arm64/qemu/qemu-armv8a/configs/citest/run.sh     | 8 +-------
 boards/arm64/qemu/qemu-armv8a/configs/citest_smp/run.sh | 8 +-------
 boards/risc-v/qemu-rv/rv-virt/configs/citest/run.sh     | 8 +-------
 boards/risc-v/qemu-rv/rv-virt/configs/citest64/run.sh   | 2 +-
 boards/sim/sim/sim/configs/citest/run.sh                | 8 +-------
 6 files changed, 6 insertions(+), 36 deletions(-)

diff --git a/boards/arm/imx6/sabre-6quad/configs/citest/run.sh 
b/boards/arm/imx6/sabre-6quad/configs/citest/run.sh
index fd7e627792f..e160ff97766 100755
--- a/boards/arm/imx6/sabre-6quad/configs/citest/run.sh
+++ b/boards/arm/imx6/sabre-6quad/configs/citest/run.sh
@@ -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}
diff --git a/boards/arm64/qemu/qemu-armv8a/configs/citest/run.sh 
b/boards/arm64/qemu/qemu-armv8a/configs/citest/run.sh
index 95b1a49d4a6..4ff4d6ac145 100755
--- a/boards/arm64/qemu/qemu-armv8a/configs/citest/run.sh
+++ b/boards/arm64/qemu/qemu-armv8a/configs/citest/run.sh
@@ -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}
diff --git a/boards/arm64/qemu/qemu-armv8a/configs/citest_smp/run.sh 
b/boards/arm64/qemu/qemu-armv8a/configs/citest_smp/run.sh
index e417134520c..31f24b69d21 100755
--- a/boards/arm64/qemu/qemu-armv8a/configs/citest_smp/run.sh
+++ b/boards/arm64/qemu/qemu-armv8a/configs/citest_smp/run.sh
@@ -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}
diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/citest/run.sh 
b/boards/risc-v/qemu-rv/rv-virt/configs/citest/run.sh
index c283fbd339a..5245d33e497 100755
--- a/boards/risc-v/qemu-rv/rv-virt/configs/citest/run.sh
+++ b/boards/risc-v/qemu-rv/rv-virt/configs/citest/run.sh
@@ -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}
diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/citest64/run.sh 
b/boards/risc-v/qemu-rv/rv-virt/configs/citest64/run.sh
index 7f6a3e97524..d3f04ee0438 100755
--- a/boards/risc-v/qemu-rv/rv-virt/configs/citest64/run.sh
+++ b/boards/risc-v/qemu-rv/rv-virt/configs/citest64/run.sh
@@ -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
diff --git a/boards/sim/sim/sim/configs/citest/run.sh 
b/boards/sim/sim/sim/configs/citest/run.sh
index 3cc18b7cfef..ebeb6662e82 100755
--- a/boards/sim/sim/sim/configs/citest/run.sh
+++ b/boards/sim/sim/sim/configs/citest/run.sh
@@ -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}

Reply via email to