On 8/18/2010 12:35 PM, Donald Woods wrote:
Moving to dev@ list since we're discussing the public ASL 2.0 licensed
TCKS....


Yep, but nothing in the wiki yet for the public TCKs....

Just build the top level projects first, which builds some integration
artifacts:
   cd geronimo/tck/branches/3.0/
   mvn clean install
Then run either BVAL or JCDI TCKs -
   cd validator-tck-runner
   mvn test -Pincontainer,geronimo-assembly -DassemblyId=tomcat7-javaee6

This doesn't appear to be working for me to run the BVAL tests. When I try this, I get one failure and 323 skipped tests. The failure looks like it's likely a setup issue.

  <testcase  time="0"  
classname="org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.MandatoryNameAttributeTest"
  name="beforeSuite">
    <failure  message="Process failed to start"  
type="java.io.IOException">java.io.IOException:  Process  failed  to  start
    at  
org.apache.geronimo.testharness.ProcessLauncher.start(ProcessLauncher.java:80)
    at  
org.apache.geronimo.testharness.GeronimoConnector.startServer(GeronimoConnector.java:146)
    at  
org.apache.geronimo.testharness.GeronimoConnector.setup(GeronimoConnector.java:104)
    at  org.jboss.testharness.AbstractTest.beforeSuite(AbstractTest.java:181)
    at  sun.reflect.NativeMethodAccessorImpl.invoke0(Native  Method)
    at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at  java.lang.reflect.Method.invoke(Method.java:597)
    at  org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
    at  org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
    at  org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
    at  org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82)
    at  org.testng.SuiteRunner.privateRun(SuiteRunner.java:278)
    at  org.testng.SuiteRunner.run(SuiteRunner.java:198)
    at  org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821)
    at  org.testng.TestNG.runSuitesLocally(TestNG.java:788)
    at  org.testng.TestNG.run(TestNG.java:708)
    at  
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74)
    at  
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
    at  org.apache.maven.surefire.Surefire.run(Surefire.java:177)
    at  sun.reflect.NativeMethodAccessorImpl.invoke0(Native  Method)
    at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at  java.lang.reflect.Method.invoke(Method.java:597)
    at  
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
    at  
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
</failure>



or
   mvn test -Pincontainer
-Dgeronimo.home=/Users/xxxxx/geronimo/trunk/assemblies/.....


-Donald


On 8/18/10 10:21 AM, Jarek Gawor wrote:
For the standalone tcks, in each 'runner' directory I put a README.TXT
file that describes how to the given tck. I hope it was kept it
up-to-date.

Jarek

On Wed, Aug 18, 2010 at 8:53 AM, Rick McGuire<[email protected]>  wrote:
  Are there any setup instructions for configuring/running the different
standalone tcks?

Rick


Reply via email to