You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Tim-Christian Mundt <de...@tim-erwin.de> on 2010/06/01 21:14:07 UTC

skip tests

Hi,

I did some work on the IMAP part today and would like to build. However,
althoug I use "mvn -Dmaven.test.skip=true package" it executes the
tests. And as Norman mentioned before, the tests to not yet pass for
JCR:

Results :

Tests in error: 
  testSearchAtomsUS(org.apache.james.imap.functional.jcr.SearchTest)
  testSearchAtomsITALY(org.apache.james.imap.functional.jcr.SearchTest)
  testSearchAtomsKOREA(org.apache.james.imap.functional.jcr.SearchTest)

testSearchCombinationsUS(org.apache.james.imap.functional.jcr.SearchTest)

testSearchCombinationsITALY(org.apache.james.imap.functional.jcr.SearchTest)

testSearchCombinationsKOREA(org.apache.james.imap.functional.jcr.SearchTest)

Tests run: 1166, Failures: 0, Errors: 775, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.



So how can I disable the tests or at least for JCR?

Best,
Tim




---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: skip tests

Posted by Tim-Christian Mundt <de...@tim-erwin.de>.

Am Dienstag, den 01.06.2010, 21:57 +0200 schrieb Stefano Bagnara:
> It's weird that -Dmaven.test.skip=true does not work.
> You may want to try with -DskipTests instead, but I'm not sure this
> will solve your issue.
It does, thanks.

> 
> 
> 2010/6/1 Tim-Christian Mundt <de...@tim-erwin.de>:
> > Hi,
> >
> > I did some work on the IMAP part today and would like to build. However,
> > althoug I use "mvn -Dmaven.test.skip=true package" it executes the
> > tests. And as Norman mentioned before, the tests to not yet pass for
> > JCR:
> >
> > Results :
> >
> > Tests in error:
> >  testSearchAtomsUS(org.apache.james.imap.functional.jcr.SearchTest)
> >  testSearchAtomsITALY(org.apache.james.imap.functional.jcr.SearchTest)
> >  testSearchAtomsKOREA(org.apache.james.imap.functional.jcr.SearchTest)
> >
> > testSearchCombinationsUS(org.apache.james.imap.functional.jcr.SearchTest)
> >
> > testSearchCombinationsITALY(org.apache.james.imap.functional.jcr.SearchTest)
> >
> > testSearchCombinationsKOREA(org.apache.james.imap.functional.jcr.SearchTest)
> >
> > Tests run: 1166, Failures: 0, Errors: 775, Skipped: 0
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] There are test failures.
> >
> >
> >
> > So how can I disable the tests or at least for JCR?
> >
> > Best,
> > Tim
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> > For additional commands, e-mail: server-dev-help@james.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: skip tests

Posted by Stefano Bagnara <ap...@bago.org>.
It's weird that -Dmaven.test.skip=true does not work.
You may want to try with -DskipTests instead, but I'm not sure this
will solve your issue.


2010/6/1 Tim-Christian Mundt <de...@tim-erwin.de>:
> Hi,
>
> I did some work on the IMAP part today and would like to build. However,
> althoug I use "mvn -Dmaven.test.skip=true package" it executes the
> tests. And as Norman mentioned before, the tests to not yet pass for
> JCR:
>
> Results :
>
> Tests in error:
>  testSearchAtomsUS(org.apache.james.imap.functional.jcr.SearchTest)
>  testSearchAtomsITALY(org.apache.james.imap.functional.jcr.SearchTest)
>  testSearchAtomsKOREA(org.apache.james.imap.functional.jcr.SearchTest)
>
> testSearchCombinationsUS(org.apache.james.imap.functional.jcr.SearchTest)
>
> testSearchCombinationsITALY(org.apache.james.imap.functional.jcr.SearchTest)
>
> testSearchCombinationsKOREA(org.apache.james.imap.functional.jcr.SearchTest)
>
> Tests run: 1166, Failures: 0, Errors: 775, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
>
>
> So how can I disable the tests or at least for JCR?
>
> Best,
> Tim
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: skip tests

Posted by Norman Maurer <no...@apache.org>.
>From BUILDING.txt:


For just building without running junit tests:
$ mvn clean package -Dmaven.test.skip.exec=true

;)

Bye,
Norman



2010/6/1 Tim-Christian Mundt <de...@tim-erwin.de>:
> Hi,
>
> I did some work on the IMAP part today and would like to build. However,
> althoug I use "mvn -Dmaven.test.skip=true package" it executes the
> tests. And as Norman mentioned before, the tests to not yet pass for
> JCR:
>
> Results :
>
> Tests in error:
>  testSearchAtomsUS(org.apache.james.imap.functional.jcr.SearchTest)
>  testSearchAtomsITALY(org.apache.james.imap.functional.jcr.SearchTest)
>  testSearchAtomsKOREA(org.apache.james.imap.functional.jcr.SearchTest)
>
> testSearchCombinationsUS(org.apache.james.imap.functional.jcr.SearchTest)
>
> testSearchCombinationsITALY(org.apache.james.imap.functional.jcr.SearchTest)
>
> testSearchCombinationsKOREA(org.apache.james.imap.functional.jcr.SearchTest)
>
> Tests run: 1166, Failures: 0, Errors: 775, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
>
>
> So how can I disable the tests or at least for JCR?
>
> Best,
> Tim
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org