https://bz.apache.org/bugzilla/show_bug.cgi?id=58344
Bug ID: 58344 Summary: allow to run tests against Tomcat installed from vendor package Product: Tomcat 8 Version: trunk Hardware: PC OS: Solaris Status: NEW Severity: normal Priority: P2 Component: Meta Assignee: dev@tomcat.apache.org Reporter: petr.sumb...@oracle.com Created attachment 33080 --> https://bz.apache.org/bugzilla/attachment.cgi?id=33080&action=edit prototype patch file. It would be nice to allow redirect Tomcat test suite to test Tomcat from different location than tomcat.build directory. This could be used for 'system-test'. E.g. to find out whether some other change didn't break Tomcat. This is not just to redefine tomcat.build to some different location. Because on Unix systems Tomcat can be packaged in both location /usr and /var. Where /usr location should remain read only. Therefore I have added test.basedir which points to location where are conf/ (for logging.properties) and webapps/ directories. Plus tomcat.testrunclasses which can be redirected to Tomcat jar files. See attached patch file for some ideas. Where following arguments are used for Tomcat installed on Solaris: ant -Dbase.path=/builds/psumbera/userland-tomcat8-tests/components/tomcat-8/build/i386 -Dtomcat.build=/builds/psumbera/userland-tomcat8-tests/components/tomcat-8/build/prototype/i386 -Djunit.home=/usr/share/lib/java -Dtest.reports=/builds/psumbera/userland-tomcat8-tests/components/tomcat-8/build/i386/log -Dtest.temp=/builds/psumbera/userland-tomcat8-tests/components/tomcat-8/build/i386/temp -Dtest.basedir=/var/tomcat8 -Dtomcat.testrunclasses=/usr/tomcat8/lib/*:/usr/tomcat8/bin/* test -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org