Skip to content

Commit

Permalink
[green-dragon-migration] Update zorg test job (#179)
Browse files Browse the repository at this point in the history
* Update the zorg test job, namely don't duplicate the unnecessary clone
and install the necessary python requirements to run the tests

This code has been tested on https://green.lab.llvm.org/
  • Loading branch information
justice-adams-apple authored May 2, 2024
1 parent 5408736 commit 8a84720
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions tasks/zorg-tests.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build get zorg

. "${TASKDIR}"/utils/venv.sh
. "${TASKDIR}"/utils/pip_install.sh --upgrade pip
. "${TASKDIR}"/utils/venv_lit.sh
. "${TASKDIR}"/utils/pip_install.sh -r config/zorg/jenkins/jobs/requirements.txt

mkdir -p result
cd "zorg/test/jenkins"
cd "config/test/jenkins"
lit --xunit-xml-output="${WORKSPACE}/result/xunit.xml" -v .
5 changes: 1 addition & 4 deletions zorg/jenkins/jobs/jobs/zorg-tests
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/usr/bin/env groovy
def common = evaluate readTrusted('zorg/jenkins/common.groovy')
common.task_pipeline('green-dragon-03') {
dir('zorg') {
svn url: 'http://llvm.org/svn/llvm-project/zorg/trunk', poll: true
}
common.task_pipeline('macos-x86_64') {
sh 'config/tasks/task jenkinsrun config/tasks/zorg-tests.sh'
}

0 comments on commit 8a84720

Please sign in to comment.