diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-05-07 16:53:25 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-05-07 21:29:47 +0900 |
commit | 875ebcb90107f980a7f4975975dc831331ab5a36 (patch) | |
tree | 31120c77334c1ad3d887fe57967782162145ac3d /tools/with_venv.sh | |
parent | 3cf1b23b0e58d55d817dca0d7b80a470cc3759e3 (diff) |
Added test framework, ported from Quantum
* Added test result format for Jenkins
* Added some test code for ryu/ofproto/
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools/with_venv.sh')
-rwxr-xr-x | tools/with_venv.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/with_venv.sh b/tools/with_venv.sh new file mode 100755 index 00000000..93eaa889 --- /dev/null +++ b/tools/with_venv.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2011 OpenStack LLC. +# All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +TOOLS=`dirname $0` +VENV=$TOOLS/../.venv +source $VENV/bin/activate && $@ |