浏览代码

Making make test more robust

fixes #6
Mike Lewis 13 年之前
父节点
当前提交
05730038b7
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      TestSupport/run_test.sh

+ 6 - 1
TestSupport/run_test.sh

@@ -8,7 +8,12 @@ export SR_TEST_URL=$TEST_URL
 
 bash TestSupport/ensure_virtualenv.sh .env
 
-.env/bin/sr-testharness -i '' -c "$TEST_SCENARIOS" &
+pushd TestSupport/sr-testharness/
+python setup.py develop
+popd
+
+source .env/bin/activate 
+sr-testharness -i '' -c "$TEST_SCENARIOS" &
 
 CHILD_PID=$!