-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing depends on remote content fetching #194
Comments
HI @ghisvail I hear your request and it's a valid suggestion, but it's not a task I can commit to right now. I am of the mind now that our unit test and bench programs are of limited use in packages, I'm thinking that I should probably default BUILD_TESTS and BUILD_BENCHMARKS to OFF. If I look at more common libraries like FFTW, Boost or googletest, they do not ship their unit tests in their packages. We behave abnormally by defaulting those on. Does your packaging problem implicitly go away if you don't build the tests/benches? |
Which would be fine in terms of size to embed in the source tree...
less fine...
Well until now for, I had testing turned off Debian and other Linux distribution are actively pushing towards getting more and more of their respective archive being tested. The level of coverage however does not matter too much. Hence, myself asking whether part of the testsuite could be made data independent. They don't make testing a requirement (yet), but the trend seems to be going in that direction. |
Perhaps embedding some representative sample What do you think? |
Hi, Trying to build for Fedora and put in repositories. Have similar issue with remote dependencies, in particular OpenCL-CLHPP which itself uses a different testing infrastructure. Is it possible to package the necessary header files directly with clSPARSE? |
@bkmgit cl2.hpp should ideally be packaged into fedora as well. |
I successfully managed to build the latest tag (0.10.1.0) of clSPARSE in Debian and was looking for a way to run the testsuite from the corresponding tarball.
However, it seems the testsuite requires additional files for its execution. These are not provided in the tarball and are probably downloading by the SuperBuild (correct me if I am wrong). This is an issue for Debian packaging, since the policy forbids remote fetching of content during the build process to avoid potential tempering.
I am not asking for the complete testsuite to be re-engineered, but I am sure some unit testing could be achieved with generated data. This would allows testing and CI be performed in Debian and other Linux distributions. Please consider making the core unit testing part of the testsuite independent of remote content fetching.
The text was updated successfully, but these errors were encountered: