Browse Source

Making make test more robust

fixes #6
Mike Lewis 13 years ago
parent
commit
05730038b7
1 changed files with 6 additions and 1 deletions
  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
 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=$!
 CHILD_PID=$!