Hello,
to run the unit tests you execute sumo/unittests/src/sumo-unittests
The test are only built if the executable 'gtest-config' is present on your
system (which should be the case if a recent version of gtest is installed).
The tests in sumo/tests are run every night and usually only very few are
broken at any time.
You can check the daily status at http://sumo.dlr.de/daily/ which today
shows lots of broken tests due to an error on my part but you will find
that most of them are green during the year (by checking the historical
test results for any given application) and I assume they will be 'green'
again tomorrow.
The error regarding the copyright clause suggests that the sumo revision
you used for testing does not match the revision of the  test suite. You
should be able to run those tests by executing sumo/tests/runTests.sh If
the environment variable SUMO_HOME is set it must point to the root
directory of the sumo installation/check-out (otherwise it will be set
automatically)
regards,
Jakob

2014-12-08 12:23 GMT+01:00 Alex Voronov <[email protected]>:

> Hi,
>
> I’m trying to create a Homebrew (http://brew.sh) formula for SUMO (
> https://github.com/Homebrew/homebrew-science/pull/1412).
>
> To make sure that the compilation went well, I want to run the unit tests.
> However, I can’t figure out how to run them… I found that ‘configure' can
> produce something for unit testing, but it is always disabled. I guess I
> need to give some parameter to --with-gtest-config ?
>
> I can run texttest in ‘tests/', but a lot of them are broken, reporting a
> difference in the copyright clause text, I guess these tests are not
> actively maintained.
>
> So, my question is: how to run tests on Linux and/or Mac?
>
> Best Regards,
>
> Alex
>
>
>
> --
> Dr. Alexey Voronov
> Viktoria Swedish ICT AB
> https://www.viktoria.se/people/alexey-voronov
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> sumo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-devel
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
sumo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-devel

Reply via email to