Skip to content

Commit f8feff2

Browse files
Merge pull request ARMmbed#22 from marcuschangarm/fix-ci
Remove wrapper file in CI
2 parents dc630f8 + 9c157de commit f8feff2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Diff for: features/minimal-printf/Jenkinsfile

+5-7
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,14 @@ def buildStep(target, compilerLabel, toolchain) {
6969
// checkout PR.
7070
checkout scm
7171

72+
// remove wrapper file so we don't compare minimal-printf with itself.
73+
sh "rm ./mbed_printf_wrapper.c"
74+
7275
// checkout newest Mbed OS release.
7376
sh "mbed new ."
7477

75-
if (toolchain == "GCC_ARM") {
76-
// use custom release profile from minimal-printf to override functions in GCC.
77-
sh "mbed test -vv --compile -m ${target} -t ${toolchain} -n '*minimal-printf*' --build ci --stats-depth 10 --profile ./profiles/release.json"
78-
} else {
79-
// use default release profile for ARM and IAR.
80-
sh "mbed test -vv --compile -m ${target} -t ${toolchain} -n '*minimal-printf*' --build ci --stats-depth 10"
81-
}
78+
// use default release profile for ARM and IAR.
79+
sh "mbed test -vv --compile -m ${target} -t ${toolchain} -n '*minimal-printf*' --build ci --stats-depth 10"
8280

8381
// stash build directory for testins step.
8482
stash name: "minimal-printf-greentea-${target}-${toolchain}", includes: "ci/**"

0 commit comments

Comments
 (0)