|
|
|
@ -219,31 +219,34 @@ pipeline {
@@ -219,31 +219,34 @@ pipeline {
|
|
|
|
|
steps { |
|
|
|
|
sh 'export' |
|
|
|
|
sh 'make distclean' |
|
|
|
|
sh 'ccache -z' |
|
|
|
|
sh 'make posix_sitl_default test_results_junit' |
|
|
|
|
sh 'ccache -s' |
|
|
|
|
junit 'build/posix_sitl_default/JUnitTestResults.xml' |
|
|
|
|
sh 'make distclean' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// TODO: PX4 requires clean shutdown first |
|
|
|
|
// stage('unit tests (address sanitizer)') { |
|
|
|
|
// agent { |
|
|
|
|
// docker { |
|
|
|
|
// image 'px4io/px4-dev-base:2018-07-19' |
|
|
|
|
// args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
// environment { |
|
|
|
|
// PX4_ASAN = 1 |
|
|
|
|
// ASAN_OPTIONS = "color=always:check_initialization_order=1:detect_stack_use_after_return=1" |
|
|
|
|
// } |
|
|
|
|
// steps { |
|
|
|
|
// sh 'export' |
|
|
|
|
// sh 'make distclean' |
|
|
|
|
// sh 'make tests' |
|
|
|
|
// sh 'make distclean' |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
stage('unit tests (address sanitizer)') { |
|
|
|
|
agent { |
|
|
|
|
docker { |
|
|
|
|
image 'px4io/px4-dev-base:2018-07-19' |
|
|
|
|
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
environment { |
|
|
|
|
PX4_ASAN = 1 |
|
|
|
|
ASAN_OPTIONS = "color=always:check_initialization_order=1:detect_stack_use_after_return=1" |
|
|
|
|
} |
|
|
|
|
steps { |
|
|
|
|
sh 'export' |
|
|
|
|
sh 'make distclean' |
|
|
|
|
sh 'ccache -z' |
|
|
|
|
sh 'make tests || true' // always pass for now, TODO: PX4 sitl clean shutdown |
|
|
|
|
sh 'ccache -s' |
|
|
|
|
sh 'make distclean' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} // parallel |
|
|
|
|
} // stage Test |
|
|
|
|