Skip to content

Commit b9f8943

Browse files
Nancy ChauhanNancy Chauhan
Nancy Chauhan
authored and
Nancy Chauhan
committed
Added comments
1 parent 67c51b0 commit b9f8943

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis/run-or1k-tests.sh

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ if [ $result != 0 ] ; then
2222
cat runtests.log
2323
fi
2424

25+
# copy the report.tap (which has TAP test result) for or1k-tests to /src location
2526
cp $HOME/src/tools/or1k-tests/native/report.tap /src
2627

2728
exit $result

Jenkinsfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ pipeline {
1717
}
1818
steps {
1919
dockerrun()
20-
tapReporting()
2120
}
2221
}
2322
stage("testing 1") {
@@ -146,10 +145,12 @@ pipeline {
146145
}
147146
}
148147

148+
// data of test.sh is persisted in docker container librecores-ci-openrisc
149149
void dockerrun() {
150150
sh 'docker run --rm -v $(pwd):/src -e "JOB=$JOB" -e "SIM=$SIM" -e "PIPELINE=$PIPELINE" -e "EXPECTED_FAILURES=$EXPECTED_FAILURES" -e "EXTRA_CORE_ARGS=$EXTRA_CORE_ARGS" librecores/librecores-ci-openrisc /src/.travis/test.sh'
151151
}
152152

153+
// TAP Plugin is used which adds the support to TAP test result files to Jenkins which can be seen at https://ci.librecores.org/job/Projects/job/OpenRISC/
153154
void tapReporting() {
154155
step([$class: "TapPublisher", testResults: "report.tap"])
155156
}

0 commit comments

Comments
 (0)