Skip to content

Commit c14014a

Browse files
committed
move laplace tests to their own higher level folder for testing on jenkins
1 parent aae3402 commit c14014a

58 files changed

Lines changed: 25 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Jenkinsfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,31 @@ pipeline {
322322
}
323323
post { always { retry(3) { deleteDir() } } }
324324
}
325+
stage('Laplace Unit Tests') {
326+
agent {
327+
docker {
328+
image 'stanorg/ci:gpu-cpp17'
329+
label 'linux'
330+
args '--cap-add SYS_PTRACE'
331+
}
332+
}
333+
when {
334+
expression {
335+
!skipRemainingStages
336+
}
337+
}
338+
steps {
339+
unstash 'MathSetup'
340+
sh "echo CXXFLAGS += -fsanitize=address -march=native -mtune=native >> make/local"
341+
script {
342+
if (!(params.optimizeUnitTests || isBranch('develop') || isBranch('master'))) {
343+
sh "echo O=3 >> make/local"
344+
}
345+
runTests("test/unit/math/laplace/*_test.cpp", false)
346+
}
347+
}
348+
post { always { retry(3) { deleteDir() } } }
349+
}
325350
stage('OpenCL GPU tests') {
326351
agent {
327352
docker {

test/unit/math/mix/laplace/aki_disease_data/spatial1.txt renamed to test/unit/math/laplace/aki_disease_data/spatial1.txt

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)