Unverified Commit d643c045 authored by Whyrusleeping's avatar Whyrusleeping Committed by GitHub

Merge pull request #5119 from ipfs/ci/disable-mac

disable the MacOS tests in jenkins
parents dbaeb844 fcf74d4c
......@@ -154,41 +154,41 @@ ansiColor('xterm') { withEnv(['TERM=xterm-color']) {
}
}
},
macOS: {
setupStep('macos') { run ->
timeout(time: gotest_timeout, unit: 'MINUTES') {
run 'go get -v github.com/jstemmer/go-junit-report'
run "make gx-deps"
try {
run test + ' -tags="nofuse" 2>&1 | tee output'
run 'cat output | go-junit-report > junit-report-macos.xml'
} catch (err) {
throw err
} finally {
/* IGNORE TEST FAILS */
/* junit 'junit-report-*.xml' */
}
}
}
},
macSharness: {
setupStep('macos') { run ->
timeout(time: sharness_timeout, unit: 'MINUTES') {
run 'go get -v github.com/jstemmer/go-junit-report'
run "make gx-deps"
try {
run "make -j12 test/sharness/test-results/sharness.xml CONTINUE_ON_S_FAILURE=1 TEST_NO_FUSE=1"
} catch (err) {
throw err
} finally {
/* IGNORE TEST FAILS */
/* junit allowEmptyResults: true, testResults: 'test/sharness/test-results/sharness.xml' */
}
}
}
},
//macOS: {
// setupStep('macos') { run ->
// timeout(time: gotest_timeout, unit: 'MINUTES') {
// run 'go get -v github.com/jstemmer/go-junit-report'
// run "make gx-deps"
// try {
// run test + ' -tags="nofuse" 2>&1 | tee output'
// run 'cat output | go-junit-report > junit-report-macos.xml'
// } catch (err) {
// throw err
// } finally {
// /* IGNORE TEST FAILS */
// /* junit 'junit-report-*.xml' */
// }
// }
// }
//},
//macSharness: {
// setupStep('macos') { run ->
// timeout(time: sharness_timeout, unit: 'MINUTES') {
// run 'go get -v github.com/jstemmer/go-junit-report'
// run "make gx-deps"
// try {
// run "make -j12 test/sharness/test-results/sharness.xml CONTINUE_ON_S_FAILURE=1 TEST_NO_FUSE=1"
// } catch (err) {
// throw err
// } finally {
// /* IGNORE TEST FAILS */
// /* junit allowEmptyResults: true, testResults: 'test/sharness/test-results/sharness.xml' */
// }
// }
// }
//},
)
}
}}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment