-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[green-dragon-migration] Update zorg test job (#179)
* 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
1 parent
5408736
commit 8a84720
Showing
2 changed files
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | ||
} |