Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

commit #82

Merged
merged 5 commits into from
Sep 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion mpienv/py.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,14 @@ def install(self):
sys.stderr.write("build_dir={}\n".format(self._pybuild_dir))
cmd = ['pip', 'install',
# '-q',
# '-v',
'--no-binary', ':all:',
'-t', self._pylib_dir,
'-b', self._pybuild_dir,
# '--no-cache-dir',
self._libname]
if os.environ.get("MPIENV_PIP_VERBOSE") is not None:
cmd[2:3] = ['-v']
sys.stderr.write(' '.join(cmd) + "\n")
check_call(cmd,
stdout=sys.stderr,
# stdout=devnull,
Expand Down
3 changes: 2 additions & 1 deletion tests/test_main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ echo "proj_dir=$proj_dir"
cd ${test_dir}

if [ ! -d "${test_dir}/shunit2" ] ; then
git clone https://github.com/kward/shunit2.git ${test_dir}/shunit2
git clone https://github.com/kward/shunit2.git --branch v2.1.6 ${test_dir}/shunit2
fi

export MPIENV_VERSIONS_DIR=${HOME}/.mpienv-test-ver
Expand Down Expand Up @@ -419,5 +419,6 @@ test_reg_issue10(){
cd ${old_wd}

SHUNIT2=$(find ${test_dir} -name "shunit2" -type f -path "*2.1*")
echo SHUNIT2="${SHUNIT2}"
#. ${test_dir}/shunit2/2.1/src/shunit2
. ${SHUNIT2}