incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Neumeyer <leoneume...@gmail.com>
Subject Re: [s4-piper] gradle test
Date Sun, 23 Oct 2011 02:31:31 GMT
Karthik,

Can you pull the latest commit and try gain. It works fine for me.

The test reports are written to these locations:

subprojects/s4-*/build/reports/tests/index.html

This is my output:

$ gradle test
:s4-base:compileJava
:s4-base:processResources UP-TO-DATE
:s4-base:classes
:s4-base:compileTestJava UP-TO-DATE
:s4-base:processTestResources UP-TO-DATE
:s4-base:testClasses UP-TO-DATE
:s4-base:test
:s4-base:jar
:s4-comm:compileJava
:s4-comm:processResources UP-TO-DATE
:s4-comm:classes
:s4-comm:compileTestJava
:s4-comm:processTestResources
:s4-comm:testClasses
:s4-comm:test
:s4-comm:jar
:s4-core:compileJava
:s4-core:processResources
:s4-core:classes
:s4-core:compileTestJava
:s4-core:processTestResources
:s4-core:testClasses
:s4-core:test
:s4-core:jar
:s4-example:compileJava
:s4-example:processResources
:s4-example:classes
:s4-example:compileTestJava UP-TO-DATE
:s4-example:processTestResources UP-TO-DATE
:s4-example:testClasses UP-TO-DATE
:s4-example:test

BUILD SUCCESSFUL

Total time: 1 mins 30.641 secs

-leo


On Sat, Oct 22, 2011 at 5:38 PM, Karthik Kambatla
<kkambatl@cs.purdue.edu> wrote:
> Hi again
>
> I have trouble understanding how to run the unit tests that we write - like
> test.s4.TestCircularFifoBuffer. gradle tasks tells me I should run 'gradle
> test'. When I run gradle test, it fails with the following output. Please
> help.
>
> kkambatl@keka:~/code/s4-piper$ gradle test
> :s4-base:compileJava UP-TO-DATE
> :s4-base:processResources UP-TO-DATE
> :s4-base:classes UP-TO-DATE
> :s4-base:compileTestJava UP-TO-DATE
> :s4-base:processTestResources UP-TO-DATE
> :s4-base:testClasses UP-TO-DATE
> :s4-base:test
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':s4-base:test'.
> Cause: Could not generate test report to
> '/home/kkambatl/code/s4-piper/subprojects/s4-base/build/reports/tests'.
> Cause: java.lang.NullPointerException (no error message)
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
>
> BUILD FAILED
>
> Total time: 13.179 secs
>
> Thanks much,
> Karthik
>



-- 

-leo

Mime
View raw message