Skip to content
Snippets Groups Projects
Commit 52966313 authored by Gunnar Schaefer's avatar Gunnar Schaefer
Browse files

Merge pull request #68 from scitran/fix-scripts

Tweak bash scripts
parents f8bf84fa 5038ef6f
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
#!/usr/bin/env bash
set -e
if [ -z "$1" ]
then
......@@ -6,4 +7,10 @@ if [ -z "$1" ]
exit 1
fi
../../../live.sh cmd PYTHONPATH=code/api:code/data code/api/bin/bootstrap.py users -f mongodb://localhost:9001/scitran code/api/test/test_bootstrap.json $1
\ No newline at end of file
(
# Set cwd
unset CDPATH
cd "$( dirname "${BASH_SOURCE[0]}" )"
../../../live.sh cmd PYTHONPATH=code/api:code/data code/api/bin/bootstrap.py users -f mongodb://localhost:9001/scitran code/api/test/test_bootstrap.json $1
)
#!/bin/sh
#!/usr/bin/env bash
set -e
../../../live.sh cmd PYTHONPATH=code/api:code/data nosetests -vv --exe --collect-only code/api/test/$1
\ No newline at end of file
(
# Set cwd
unset CDPATH
cd "$( dirname "${BASH_SOURCE[0]}" )"
../../../live.sh cmd PYTHONPATH=code/api:code/data nosetests -vv --exe --collect-only code/api/test/$1
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment