diff --git a/tox.ini b/tox.ini index e8610ae551..eea4866269 100644 --- a/tox.ini +++ b/tox.ini @@ -49,23 +49,16 @@ whitelist_externals = find commands = find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -g docker testr run ^(test_build).* + sudo -g docker testr run test_build.BuildTestCentosBinary [testenv:images-centos-source] whitelist_externals = find bash sudo - echo - mv - rm commands = - bash -c "if [ -f .buildconf ]; then mv .buildconf buildconf.bak; fi" - bash -c "echo PREFIX=centos-source- > .buildconf" find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -g docker testr run ^(test_images).* - rm -f .buildconf - bash -c "if [ -f buildconf.bak ]; then mv buildconf.bak .buildconf; fi" + sudo -g docker testr run test_build.BuildTestCentosSource [testenv:startenv] whitelist_externals = bash