source: sasmodels/extra/build_linux.sh @ 0d362b7

core_shell_microgelsmagnetic_modelticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since 0d362b7 was 0d362b7, checked in by Paul Kienzle <pkienzle@…>, 5 years ago

fix unix tests so jenkins stops failing

  • Property mode set to 100755
File size: 470 bytes
RevLine 
[95d67be]1#!/bin/bash
2
[6d2abaa]3test -z $WORKSPACE && WORKSPACE=.
4
[95d67be]5EASY_INSTALL=${EASY_INSTALL:-`which easy_install`}
6cd $WORKSPACE
7if [ ! -d "utils" ]; then
8    mkdir utils
9fi
10export PYTHONPATH=$WORKSPACE/utils:$PYTHONPATH
11
12"$EASY_INSTALL" -d "$WORKSPACE/utils" unittest-xml-reporting pylint
13
[db8756e]14# Run tests
15STATUS=0
[0d362b7]16python -m sasmodels.model_test -v all || STATUS=$?
[db8756e]17python -m sasmodels.resolution || STATUS=$?
18
19# Run lint
20python extra/run-pylint.py > pylint_violations.txt
[95d67be]21
[db8756e]22exit $STATUS
[95d67be]23
24
Note: See TracBrowser for help on using the repository browser.