I recently hit a snag in my packaging efforts for Fedora. The problem is that Gitorious wants to run its test suite against a live MySQL server. Unfortunately there's no reliable way to start up and shut down mysqld inside the build chroots that Fedora uses.
Here's a mailing list thread where I ran into the issue with rubygem-riddle and rubygem-thinking-sphinx: https://lists.fedoraproject.org/pipermail/ruby-sig/2013-February/001235.html Options that come to mind: 1) Make Gitorious support SQLite ;-) 2) Mock all MySQL interactions (probably not feasible at all), 3) Figure out a way to at least run a subset of tests that do not require a live instance of mysqld, 4) Skip the test suite altogether (not ideal, but it is the easy way out) Any others? Since there's so many variations of package combinations on Fedora in particular, I was really hoping that the test suite would provide some assurances that everything was still working properly. If we can't run the test suite automatically during the RPM build process, that's a bummer. - Ken -- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "Gitorious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
