core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change
on this file since caf768d was
db8756e,
checked in by Paul Kienzle <pkienzle@…>, 10 years ago
|
have jenkins run the resolution tests
|
-
Property mode set to
100755
|
File size:
482 bytes
|
Rev | Line | |
---|
[95d67be] | 1 | #!/bin/bash |
---|
| 2 | |
---|
[6d2abaa] | 3 | test -z $WORKSPACE && WORKSPACE=. |
---|
| 4 | |
---|
[95d67be] | 5 | EASY_INSTALL=${EASY_INSTALL:-`which easy_install`} |
---|
| 6 | cd $WORKSPACE |
---|
| 7 | if [ ! -d "utils" ]; then |
---|
| 8 | mkdir utils |
---|
| 9 | fi |
---|
| 10 | export PYTHONPATH=$WORKSPACE/utils:$PYTHONPATH |
---|
| 11 | |
---|
| 12 | "$EASY_INSTALL" -d "$WORKSPACE/utils" unittest-xml-reporting pylint |
---|
| 13 | |
---|
[db8756e] | 14 | # Run tests |
---|
| 15 | STATUS=0 |
---|
| 16 | python -m sasmodels.model_test opencl_and_dll all || STATUS=$? |
---|
| 17 | python -m sasmodels.resolution || STATUS=$? |
---|
| 18 | |
---|
| 19 | # Run lint |
---|
| 20 | python extra/run-pylint.py > pylint_violations.txt |
---|
[95d67be] | 21 | |
---|
[db8756e] | 22 | exit $STATUS |
---|
[95d67be] | 23 | |
---|
| 24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.