Use config generator rc instead of wrapper script

This commit removes the generate_sample wrapper script and adds an
rc file for the config generator to specify the alternate path.
This makes console messages from the generator tooling point
consistent with what is actually being used. Before because a wrapper
was used error messages would recommend running the incorrect tool.

Change-Id: I0ac792454777af6e3f1d718836031f9a14850229
This commit is contained in:
Matthew Treinish 2014-06-19 16:51:17 +00:00
parent 4251685fac
commit afeb91a5da
3 changed files with 1 additions and 3 deletions

View File

@ -0,0 +1 @@
MODULEPATH=tempest.common.generate_sample_tempest

View File

@ -1,2 +0,0 @@
#!/bin/sh
MODULEPATH=tempest.common.generate_sample_tempest tools/config/generate_sample.sh $@

View File

@ -85,7 +85,6 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:pep8]
setenv = MODULEPATH=tempest.common.generate_sample_tempest
commands =
flake8 {posargs}
{toxinidir}/tools/config/check_uptodate.sh