diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2016-02-21 22:36:44 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2016-02-21 22:47:53 +0100 |
commit | 7fd15c9e226f6c4886d5236abbb2557817ecbd10 (patch) | |
tree | 488ab216af7d28a052e55b99214337ebf41d71ea | |
parent | Turn test_cli into a bit more of test suite (diff) | |
download | metagen-7fd15c9e226f6c4886d5236abbb2557817ecbd10.tar.gz metagen-7fd15c9e226f6c4886d5236abbb2557817ecbd10.tar.bz2 metagen-7fd15c9e226f6c4886d5236abbb2557817ecbd10.zip |
Make test_cli call local metagen, not system version
-rwxr-xr-x | metagen/test_cli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/metagen/test_cli b/metagen/test_cli index d0c9792..79fa443 100755 --- a/metagen/test_cli +++ b/metagen/test_cli @@ -1,4 +1,8 @@ #!/bin/bash +metagen() { + PYTHONPATH=. ./metagen/main.py "$@" +} + handle_error() { ret=$? echo FAILED. >&2 |