Skip to content

Commit

Permalink
delete v2 spi test
Browse files Browse the repository at this point in the history
  • Loading branch information
JC-282-AD committed Sep 20, 2024
1 parent 6c54281 commit 5e9fe80
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/scripts/example_tester_78002.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ result_HelloWorld_Cpp='not tested'
result_TRNG='not tested'
result_I2C='not tested'
result_SPI='not tested'
result_SPI_V2='not tested'
result_ICC='not tested'
result_DMA='not tested'
result_CRC='not tested'
Expand All @@ -57,8 +56,6 @@ function init() {

if [[ $1 == "ADC" || $1 == "UART" ]]; then
make -j -C "$Path/$testName" METHOD="$2"
elif [[ $1 == "SPI" ]]; then
make -j -C "$Path/$testName" MXC_SPI_VERSION="$2"
else
make -j -C "$Path/$testName"
fi
Expand Down Expand Up @@ -171,7 +168,7 @@ function test_I2C() {
}

function test_SPI() {
init SPI v1
init SPI

# start testing the output
grep "16 Bits Transaction Successful" $tempFile
Expand All @@ -187,21 +184,6 @@ function test_SPI() {

}

function test_SPI_V2() {
init SPI v2

# start testing the output
grep "16 Bits Transaction Successful" $tempFile
if [[ $? -eq 0 ]];
then
result_SPI_V2='pass'
else
result_SPI_V2='fail'
fi

printf "Test result for SPI_v2: $result_SPI_V2\n"

}
function test_ICC() {
init ICC

Expand Down Expand Up @@ -366,7 +348,6 @@ function summary() {
printf "Test result for TRNG: $result_TRNG\n"
printf "Test result for I2C: $result_I2C\n"
printf "Test result for SPI: $result_SPI\n"
printf "Test result for SPI_v2: $result_SPI_V2\n"
printf "Test result for ICC: $result_ICC\n"
printf "Test result for DMA: $result_DMA\n"
printf "Test result for CRC: $result_CRC\n"
Expand All @@ -390,9 +371,6 @@ function main() {
test_TRNG
test_I2C
test_SPI

test_SPI_V2

test_DMA
test_CRC
test_ADC
Expand All @@ -413,7 +391,6 @@ if [[ $result_UART_INTERRUPT = "fail" ||
$result_TRNG = "fail" ||
$result_I2C = "fail" ||
$result_SPI = "fail" ||
$result_SPI_V2 = "fail" ||
$result_ICC = "fail" ||
$result_DMA = "fail" ||
$result_CRC = "fail" ||
Expand Down

0 comments on commit 5e9fe80

Please sign in to comment.