From 9c157de2897cd0355086657120a3c34961623078 Mon Sep 17 00:00:00 2001 From: Marcus Chang Date: Wed, 17 Apr 2019 14:14:40 -0700 Subject: [PATCH] Remove wrapper file in CI So we don't compare minimal-printf with itself. --- features/minimal-printf/Jenkinsfile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/features/minimal-printf/Jenkinsfile b/features/minimal-printf/Jenkinsfile index 43123237d8..5750722b68 100644 --- a/features/minimal-printf/Jenkinsfile +++ b/features/minimal-printf/Jenkinsfile @@ -69,16 +69,14 @@ def buildStep(target, compilerLabel, toolchain) { // checkout PR. checkout scm + // remove wrapper file so we don't compare minimal-printf with itself. + sh "rm ./mbed_printf_wrapper.c" + // checkout newest Mbed OS release. sh "mbed new ." - if (toolchain == "GCC_ARM") { - // use custom release profile from minimal-printf to override functions in GCC. - sh "mbed test -vv --compile -m ${target} -t ${toolchain} -n '*minimal-printf*' --build ci --stats-depth 10 --profile ./profiles/release.json" - } else { - // use default release profile for ARM and IAR. - sh "mbed test -vv --compile -m ${target} -t ${toolchain} -n '*minimal-printf*' --build ci --stats-depth 10" - } + // use default release profile for ARM and IAR. + sh "mbed test -vv --compile -m ${target} -t ${toolchain} -n '*minimal-printf*' --build ci --stats-depth 10" // stash build directory for testins step. stash name: "minimal-printf-greentea-${target}-${toolchain}", includes: "ci/**"