Test suites about PPL

Hi There
Currently, I am trying to test the PPL library.
I am wondering whether PPL has its own test suites to facilitate the testing, I found there is a sub-directory named "tests", but seems that "make check" under this directory does not work, but recursively compiles the source code. Any recommendation about this? Thanks a lot for your clarification..
Regards
Peng

Peng Li wrote:
Hi There
Currently, I am trying to test the PPL library.
I am wondering whether PPL has its own test suites to facilitate the testing, I found there is a sub-directory named "tests", but seems that "make check" under this directory does not work, but recursively compiles the source code.
The recommended procedure for running the PPL tests is to first complete a 'make' in the top build directory and then issue 'make check' (again, from the top build directory).
Running 'make check' in the tests directory will definitely skip some of the tests (e.g., those in demos) and it can lead to a compilation failure if some required parts of the previous make where not appropriately built.
Except for the cases said, it should be OK. If you observe that 'make check' in tests is causing the compilation of PPL sources, then it probably means that these were not built before.
Enea.
Any recommendation about this? Thanks a lot for your clarification..
Regards
Peng _______________________________________________ PPL-devel mailing list PPL-devel@cs.unipr.it http://www.cs.unipr.it/mailman/listinfo/ppl-devel

On 08/23/10 04:20, Peng Li wrote:
Currently, I am trying to test the PPL library.
I am wondering whether PPL has its own test suites to facilitate the testing,
Hi Peng,
the PPL comes with a lot of tests indeed.
I found there is a sub-directory named "tests",
Yes, there are lots of tests under there; there are other tests under the `demos' and `interfaces' directories.
but seems that "make check" under this directory does not work, but recursively compiles the source code. Any recommendation about this? Thanks a lot for your clarification..
You just need to `configure' with the options of your choice (see README.configure), then run `make' and `make check' from the top-level build directory. Please note that `make check' is very thorough and can last for several hours. All the best,
Roberto
participants (3)
-
Enea Zaffanella
-
Peng Li
-
Roberto Bagnara