From 77fc639d5759845560b595bef1fb46c7b7cd7a91 Mon Sep 17 00:00:00 2001 From: Jason Cai Date: Thu, 19 Sep 2024 16:30:31 -0500 Subject: [PATCH] add spi_v2 --- .github/workflows/scripts/example_tester_78002.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/scripts/example_tester_78002.sh b/.github/workflows/scripts/example_tester_78002.sh index a3d26b446f..c3bc051bbc 100644 --- a/.github/workflows/scripts/example_tester_78002.sh +++ b/.github/workflows/scripts/example_tester_78002.sh @@ -55,15 +55,14 @@ function init() { then make -C $Path/$testName distclean - if [[$1 = "ADC" || $1 = "UART" ]]; - then - make -j -C $Path/$testName METHOD=$2 - elif [[ $1 = "SPI_v2"]]; - then - make -j -C $Path/SPI MXC_SPI_VERSION=$2 + if [[ $1 == "ADC" || $1 == "UART" ]]; then + make -j -C "$Path/$testName" METHOD="$2" + elif [[ $1 == "SPI_v2" ]]; then + make -j -C "$Path/SPI" MXC_SPI_VERSION="$2" else - make -j -C $Path/$testName + make -j -C "$Path/$testName" fi + fi if [[ $testName != Library_Generate && $testName != Library_Use ]]