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']) { ...@@ -154,41 +154,41 @@ ansiColor('xterm') { withEnv(['TERM=xterm-color']) {
} }
} }
}, },
macOS: { //macOS: {
setupStep('macos') { run -> // setupStep('macos') { run ->
timeout(time: gotest_timeout, unit: 'MINUTES') { // timeout(time: gotest_timeout, unit: 'MINUTES') {
run 'go get -v github.com/jstemmer/go-junit-report' // run 'go get -v github.com/jstemmer/go-junit-report'
run "make gx-deps" // run "make gx-deps"
try { // try {
run test + ' -tags="nofuse" 2>&1 | tee output' // run test + ' -tags="nofuse" 2>&1 | tee output'
run 'cat output | go-junit-report > junit-report-macos.xml' // run 'cat output | go-junit-report > junit-report-macos.xml'
} catch (err) { // } catch (err) {
throw err // throw err
} finally { // } finally {
/* IGNORE TEST FAILS */ // /* IGNORE TEST FAILS */
/* junit 'junit-report-*.xml' */ // /* junit 'junit-report-*.xml' */
} // }
} // }
} // }
}, //},
macSharness: { //macSharness: {
setupStep('macos') { run -> // setupStep('macos') { run ->
timeout(time: sharness_timeout, unit: 'MINUTES') { // timeout(time: sharness_timeout, unit: 'MINUTES') {
run 'go get -v github.com/jstemmer/go-junit-report' // run 'go get -v github.com/jstemmer/go-junit-report'
run "make gx-deps" // run "make gx-deps"
try { // try {
run "make -j12 test/sharness/test-results/sharness.xml CONTINUE_ON_S_FAILURE=1 TEST_NO_FUSE=1" // run "make -j12 test/sharness/test-results/sharness.xml CONTINUE_ON_S_FAILURE=1 TEST_NO_FUSE=1"
} catch (err) { // } catch (err) {
throw err // throw err
} finally { // } finally {
/* IGNORE TEST FAILS */ // /* IGNORE TEST FAILS */
/* junit allowEmptyResults: true, testResults: 'test/sharness/test-results/sharness.xml' */ // /* 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