Skip to content

Commit

Permalink
delete not tested ADC
Browse files Browse the repository at this point in the history
  • Loading branch information
JC-282-AD committed Sep 20, 2024
1 parent 5e9fe80 commit 1a67106
Showing 1 changed file with 0 additions and 52 deletions.
52 changes: 0 additions & 52 deletions .github/workflows/scripts/example_tester_78002.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ result_SPI='not tested'
result_ICC='not tested'
result_DMA='not tested'
result_CRC='not tested'
result_ADC_POLLING='not tested'
result_ADC_INTERRUPT='not tested'
result_ADC_DMA='not tested'
result_Lib_Gen='not tested'
result_Lib_Use='not tested'
Expand Down Expand Up @@ -236,52 +234,6 @@ function test_CRC() {

function test_ADC() {

init ADC POLLING

# start testing the output
result_ADC_POLLING='pass'
grep "Running Single Channel Example" $tempFile
if [[ $? -ne 0 ]];
then
result_ADC_POLLING='fail'
fi

grep "Running Temperature Sensor Example" $tempFile
if [[ $? -ne 0 ]];
then
result_ADC_POLLING='fail'
fi

grep "Running Multi Channel Example" $tempFile
if [[ $? -ne 0 ]];
then
result_ADC_POLLING='fail'
fi
printf "Test result for ADC_POLLING: $result_ADC_POLLING\n"

init ADC INTERRUPT

# start testing the output
result_ADC_INTERRUPT='pass'
grep "Running Single Channel Example" $tempFile
if [[ $? -ne 0 ]];
then
result_ADC_INTERRUPT='fail'
fi

grep "Running Temperature Sensor Example" $tempFile
if [[ $? -ne 0 ]];
then
result_ADC_INTERRUPT='fail'
fi

grep "Running Multi Channel Example" $tempFile
if [[ $? -ne 0 ]];
then
result_ADC_INTERRUPT='fail'
fi
printf "Test result for ADC_INTERRUPT: $result_ADC_INTERRUPT\n"

init ADC DMA

# start testing the output
Expand Down Expand Up @@ -351,8 +303,6 @@ function summary() {
printf "Test result for ICC: $result_ICC\n"
printf "Test result for DMA: $result_DMA\n"
printf "Test result for CRC: $result_CRC\n"
printf "Test result for ADC_POLLING: $result_ADC_POLLING\n"
printf "Test result for ADC_INTERRUPT: $result_ADC_INTERRUPT\n"
printf "Test result for ADC_DMA: $result_ADC_DMA\n"
printf "Test result for Library_Generate: $result_Lib_Gen\n"
printf "Test result for Library_Use: $result_Lib_Use\n"
Expand Down Expand Up @@ -394,8 +344,6 @@ if [[ $result_UART_INTERRUPT = "fail" ||
$result_ICC = "fail" ||
$result_DMA = "fail" ||
$result_CRC = "fail" ||
$result_ADC_POLLING = "fail" ||
$result_ADC_INTERRUPT = "fail" ||
$result_ADC_DMA = "fail" ||
$result_Lib_Gen = "fail" ||
$result_Lib_Use = "fail" ]]; then
Expand Down

0 comments on commit 1a67106

Please sign in to comment.