diff mbox

[OSSTEST,v11,15/20] ts-openstack-tempest: Fix tempest invocation

Message ID 20170616175704.7832-16-anthony.perard@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Anthony PERARD June 16, 2017, 5:56 p.m. UTC
./run_tempest.sh is deprecated.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 ts-openstack-tempest | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Ian Jackson June 23, 2017, 1:45 p.m. UTC | #1
Anthony PERARD writes ("[OSSTEST PATCH v11 15/20] ts-openstack-tempest: Fix tempest invocation"):
> ./run_tempest.sh is deprecated.
...
>      target_cmd($ho, <<END, 7200);
>  set -e
> -$builddir/tempest/run_tempest.sh --virtual-env -- --concurrency=2 '$regex'
> +cd $builddir/tempest
> +tempest run --concurrency=2 --regex '$regex'

Has /usr/local/bin/tempest or something been created by
ts-openstay-deploy, then ?

If so,

  Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>

Otherwise I wonder how this works, since I don't see how `tempest'
would be on PATH.

Ian.
Anthony PERARD June 23, 2017, 2:49 p.m. UTC | #2
On Fri, Jun 23, 2017 at 02:45:12PM +0100, Ian Jackson wrote:
> Anthony PERARD writes ("[OSSTEST PATCH v11 15/20] ts-openstack-tempest: Fix tempest invocation"):
> > ./run_tempest.sh is deprecated.
> ...
> >      target_cmd($ho, <<END, 7200);
> >  set -e
> > -$builddir/tempest/run_tempest.sh --virtual-env -- --concurrency=2 '$regex'
> > +cd $builddir/tempest
> > +tempest run --concurrency=2 --regex '$regex'
> 
> Has /usr/local/bin/tempest or something been created by
> ts-openstay-deploy, then ?

Yes.

> If so,
> 
>   Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
> 
> Otherwise I wonder how this works, since I don't see how `tempest'
> would be on PATH.
> 
> Ian.
diff mbox

Patch

diff --git a/ts-openstack-tempest b/ts-openstack-tempest
index 82e9a71..b95043a 100755
--- a/ts-openstack-tempest
+++ b/ts-openstack-tempest
@@ -58,7 +58,8 @@  sub tempest() {
 
     target_cmd($ho, <<END, 7200);
 set -e
-$builddir/tempest/run_tempest.sh --virtual-env -- --concurrency=2 '$regex'
+cd $builddir/tempest
+tempest run --concurrency=2 --regex '$regex'
 END
 }