Hi Lumir, Excuse me for jumping in.
On 2017年05月25日 18:13, Lumir Balhar wrote: > Hello Fujimoto. > > Thank you for the quick reply. You are right that if I run tests locally > I can ignore the failing one but in the build system the failing test > means non-zero exit status which causes build to interrupt. > > Could you please help me find a source code of the one test which needs > Internet connection? I'd try to make patch to skip it during build of RPM. The test code you mean seems to be the following; https://github.com/osrg/ryu/blob/master/ryu/tests/unit/test_requirements.py Thanks, Iwase > > Thank you very much and have a nice day. > > Lumír > > > On 05/24/2017 03:04 AM, Fujimoto Satoshi wrote: >> Hi, Lumir >> >> I expect you run tests with ./run_tests.sh. >> >> If you don't have Docker, the script automatically skips tests which >> need Docker, >> so you don't have to care about it. >> >> However, there is one test which needs Internet connection, >> and the way to skip the test is not provided. >> As a result, ./run_tests.sh will output like "errors=1", >> but you can ignore it because it is the expected result. >> >> Thanks, >> Fujimoto >> >> On 2017年05月23日 23:41, Lumir Balhar wrote: >>> Hello. >>> >>> I am working on python-ryu RPM package in Fedora and I want to keep them >>> up to date as possible but I have one problem with tests. >>> >>> I want to enable tests during build of RPM package, but I cannot run all >>> of them because (for example): >>> - build system cannot run docker containers >>> - build system has not internet connection >>> - etc. >>> >>> So, my question is: Is there any way how can I run only isolated tests >>> with no need of internet connection and/or docker? >>> >>> Thank you and have a nice day. >>> >>> Lumír >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Ryu-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/ryu-devel >> > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
