AvtechScientific / ASL

Advanced Simulation Library - hardware accelerated multiphysics simulation platform.
http://asl.org.il
GNU Affero General Public License v3.0
223 stars 55 forks source link

Consider using CTest to register and run the test suite #8

Closed ghisvail closed 9 years ago

ghisvail commented 9 years ago

You might want to register all test executables with add_test so that a build with -DBUILD_TESTING=ON allows automatic running of the test suite.

More info: http://www.cmake.org/cmake/help/v3.0/command/add_test.html

AvtechScientific commented 9 years ago

Yes, we planed to enable it in the next release.

ghisvail commented 9 years ago

This will be required for the Debian packaging.

AvtechScientific commented 9 years ago

Ok, We'll try to do this next week. Hopefully there will be no other showstoppers.

AvtechScientific commented 9 years ago

Done: Input/Output tests are labled "IO" and may require input files Performance tests are labled "Performance" Run them: ctest [-C Release|Debug] -L Performance Exclude them: ctest [-C Release|Debug] -LE Performance