Commit Graph

8 Commits

Author SHA1 Message Date
Stephen Finucane 75cd334d14 Remove dead tooling
Remove the following collections of tools

  analyze-oslo.sh, new_core.py, new_core_analyzer.py,
  new_core_recruit.py
    Used to handle identification and onboarding of new cores. Committed
    in 2015 and likely unused in recent years.

  apply_cookiecutter.sh
    References "graduation" of oslo projects. Oslo Incubator is dead and
    so is this.

  dashboards/*, build_dashboards.sh
    From 2015 and untouched so likely unused nowadays. Most of these are
    available in the gerrit-dash-creator now.

  clean_oslo_namespaces.sh
    A remnant from the days we thought namespace packages were a good
    idea. I miss those days...

  clone_openstack.sh
    Clones the entirety of OpenStack to your local drive. Seems
    initially useful but references stackforge and untouched in years so
    not really.

  lint.py
    Runs PyLint with our special flavor of settings. Initially replaced
    by tox and now dead because PyLint is a PITA.

  find_used_deleted_modules.py
    Another reference to the incubator. Now dead.

  remove-namespace-packages-project.txt
    Describe the long-since-completed effort to drop namespace packages.
    No references and therefore removable.

  run_tests_common.sh, with_venv.sh, install_venv.py,
  install_venv_common.py
    All replaced by tox for, well, everything nowadays.

  colorizer.py
    No users after everything else is removed.

  virtual_sprint.py
    Sends an email about a virtual sprint. No one's using this anymore
    and it was last modified in 2014.

Change-Id: I6c5bd16dcfacdd816caf568f30e55451acf03ae1
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2018-07-19 14:03:46 +01:00
Vu Cong Tuan 43f796058b Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I5f07c8b8fb998a7c333e076a3f7c0de65568068c
2018-07-03 13:39:32 +07:00
ghanshyam 905420cf2e Fix couple of env variable usage issues in venv scripts
There are couple of issues in scripts which are responsible for
creating virtual environment.

Issues are listed in bug#1472509.

This patch fix those issues.

Change-Id: I1902377c078342484cf01428660bb1b36eac1552
Closes-Bug: 1472509
2015-07-08 17:04:14 +09:00
Ben Nemec f1b3ba7d78 Delete graduated concurrency files
Per the new process, we will not be keeping graduated files around
on the master branch of incubator.

Co-Authored-By: Ihar Hrachyshka <ihrachys@redhat.com>
Change-Id: Id0469b31a51ee6482d8b7bcca7664854d705c102
Closes-Bug: 1371697
2014-12-08 11:15:16 +01:00
Amaury Medeiros 02b13673a4 Improve documentation of run_tests.sh script
Fix typos and change a few sentences of run_tests.sh script.
Also insert punctuation marks in several sentences of help message
to keep a pattern.

Change-Id: I554905f619ff3c5300b2e2603f247596816ac945
2014-11-10 09:13:35 +00:00
Ian Wienand 4caa71691e Use lockutils wrapper to set OSLO_LOCK_PATH for run_tests.sh
Use lockutils wrapper to get OSLO_LOCK_PATH set for tests.  This is
required for run_tests.sh to pass

Change-Id: I276b07ca41582c04899b5fbc0632c056463ab4c7
Closes-Bug: #1303584
2014-06-25 14:41:45 +10:00
Kui Shi bd79de6f19 Don't need to init testr in run_tests.sh
In run_tests.sh, function init_testr will initialize testr if the
directory .testrepository is not existed. Actually, testr will do
the check before run the test:

In Python package testrepository,
setuptools_command.py:Testr.run

68 def run(self):
69 """Set up testr repo, then run testr"""
70     if not os.path.isdir(".testrepository"):
71         self._run_testr("init")

So, init_testr can be removed safely.

Fixes Bug #1222688
Change-Id: I51e73efe4e9b80bbf0159a5bce0db81fc049b9ce
2013-09-14 17:17:46 +08:00
Victor Sergeyev 7ade312983 Move `./run_tests.sh` to Oslo
Moved Nova `./run_tests.sh` script to `tools/run_tests_common.sh` file.
This script run unit-tests and can be reused in other projects.
Added script `./run_tests.sh` with project specific variables to run
`tools/run_tests_common.sh` script.
Added required `tools/*` files for pretty colorizer outpoot.
Modified `tests/utils.py` file - added work with OS_TEST_TIMEOUT,
OS_STDOUT_CAPTURE and OS_STDERR_CAPTURE environment variables from .testr.conf

blueprint run-tests-script

Change-Id: I057e8cf2c74d160402cb881fc761623c74905b7e
2013-08-13 18:06:11 +03:00