aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2016-02-21 22:36:44 +0100
committerSebastian Pipping <sebastian@pipping.org>2016-02-21 22:47:53 +0100
commit7fd15c9e226f6c4886d5236abbb2557817ecbd10 (patch)
tree488ab216af7d28a052e55b99214337ebf41d71ea
parentTurn test_cli into a bit more of test suite (diff)
downloadmetagen-7fd15c9e226f6c4886d5236abbb2557817ecbd10.tar.gz
metagen-7fd15c9e226f6c4886d5236abbb2557817ecbd10.tar.bz2
metagen-7fd15c9e226f6c4886d5236abbb2557817ecbd10.zip
Make test_cli call local metagen, not system version
-rwxr-xr-xmetagen/test_cli4
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