mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user