Skip to content

Instantly share code, notes, and snippets.

@colinsurprenant
Created August 11, 2014 07:00
Show Gist options
  • Save colinsurprenant/8a41ed3eb6a2a3f32278 to your computer and use it in GitHub Desktop.
Save colinsurprenant/8a41ed3eb6a2a3f32278 to your computer and use it in GitHub Desktop.
adapteva parallella jffi
test:
[junit] Running com.kenai.jffi.ClosureTest
[junit] Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.424 sec
[junit] Running com.kenai.jffi.ForeignTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.438 sec
[junit] Running com.kenai.jffi.InvokerTest
[junit] Tests run: 13, Failures: 12, Errors: 0, Skipped: 0, Time elapsed: 0.678 sec
[junit] Test com.kenai.jffi.InvokerTest FAILED
[junit] Running com.kenai.jffi.JSR292Test
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.723 sec
[junit] Running com.kenai.jffi.LibraryTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.354 sec
[junit] Running com.kenai.jffi.MemoryTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.427 sec
[junit] Running com.kenai.jffi.NumberTest
cat build/test/results/*.txt
Testsuite: com.kenai.jffi.ClosureTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.424 sec
Testcase: fastLongClosureIrV took 0.588 sec
Testcase: defaultClosureLrV took 0.021 sec
Testcase: fastLongClosureLrV took 0.007 sec
Testcase: defaultClosureFrV took 0.031 sec
Testcase: defaultClosureDrV took 0.021 sec
Testcase: allocateLots took 0.325 sec
Testcase: defaultClosureVrI took 0.021 sec
Testcase: fastIntClosureVrI took 0.006 sec
Testcase: fastLongClosureVrI took 0.006 sec
Testcase: defaultClosureVrL took 0.011 sec
Testcase: fastLongClosureVrL took 0.006 sec
Testcase: defaultClosureVrF took 0.012 sec
Testcase: defaultClosureVrD took 0.021 sec
Testcase: fastNumericClosureVrD took 0.014 sec
Testcase: testClosureTrV took 0.023 sec
Testcase: testClosureVrTFromArray took 0.057 sec
Testcase: testClosureVrTFromPointer took 0.021 sec
Testcase: defaultClosureBrV took 0.024 sec
Testcase: fastIntClosureBrV took 0.006 sec
Testcase: fastLongClosureBrV took 0.006 sec
Testcase: defaultClosureSrV took 0.025 sec
Testcase: fastIntClosureSrV took 0.005 sec
Testcase: fastLongClosureSrV took 0.006 sec
Testcase: defaultClosureIrV took 0.006 sec
Testcase: fastIntClosureIrV took 0.006 sec
Testcase: defaultClosureVrV took 0.02 sec
Testcase: fastIntClosureVrV took 0.005 sec
Testcase: fastLongClosureVrV took 0.006 sec
Testcase: defaultThreadedClosureVrV took 0.467 sec
Testcase: defaultClosureVrB took 0.02 sec
Testcase: fastIntClosureVrB took 0.006 sec
Testcase: fastLongClosureVrB took 0.006 sec
Testcase: defaultClosureVrS took 0.024 sec
Testcase: fastIntClosureVrS took 0.005 sec
Testcase: fastLongClosureVrS took 0.006 sec
Testsuite: com.kenai.jffi.ForeignTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.438 sec
Testcase: pageSize took 0.103 sec
Testcase: version took 0.002 sec
Testcase: mmap took 0.035 sec
Testcase: munmap took 0.001 sec
Testcase: writeToAllocatedMemory took 0.065 sec
Testsuite: com.kenai.jffi.InvokerTest
Tests run: 13, Failures: 12, Errors: 0, Skipped: 0, Time elapsed: 0.678 sec
Testcase: invokeNativeO took 0.183 sec
FAILED
incorrect return value expected:<514834159> but was:<9104768751>
junit.framework.AssertionFailedError: incorrect return value expected:<514834159> but was:<9104768751>
at com.kenai.jffi.InvokerTest.invokeO(Unknown Source)
at com.kenai.jffi.InvokerTest.invokeNativeO(Unknown Source)
Testcase: invokeHeapO took 0.002 sec
FAILED
incorrect return value expected:<514834159> but was:<2662317807>
junit.framework.AssertionFailedError: incorrect return value expected:<514834159> but was:<2662317807>
at com.kenai.jffi.InvokerTest.invokeO(Unknown Source)
at com.kenai.jffi.InvokerTest.invokeHeapO(Unknown Source)
Testcase: invokeNativeNO took 0.003 sec
FAILED
incorrect return value expected:<514834159> but was:<2662317807>
junit.framework.AssertionFailedError: incorrect return value expected:<514834159> but was:<2662317807>
at com.kenai.jffi.InvokerTest.invokeNO(Unknown Source)
at com.kenai.jffi.InvokerTest.invokeNativeNO(Unknown Source)
Testcase: invokeHeapNO took 0.002 sec
FAILED
incorrect return value expected:<514834159> but was:<2662317807>
junit.framework.AssertionFailedError: incorrect return value expected:<514834159> but was:<2662317807>
at com.kenai.jffi.InvokerTest.invokeNO(Unknown Source)
at com.kenai.jffi.InvokerTest.invokeHeapNO(Unknown Source)
Testcase: invokeNativeON took 0.002 sec
FAILED
incorrect return value expected:<514834159> but was:<2662317807>
junit.framework.AssertionFailedError: incorrect return value expected:<514834159> but was:<2662317807>
at com.kenai.jffi.InvokerTest.invokeON(Unknown Source)
at com.kenai.jffi.InvokerTest.invokeNativeON(Unknown Source)
Testcase: invokeHeapON took 0.002 sec
FAILED
incorrect return value expected:<514834159> but was:<2662317807>
junit.framework.AssertionFailedError: incorrect return value expected:<514834159> but was:<2662317807>
at com.kenai.jffi.InvokerTest.invokeON(Unknown Source)
at com.kenai.jffi.InvokerTest.invokeHeapON(Unknown Source)
Testcase: invokeNativeOO took 0.002 sec
FAILED
incorrect return value expected:<784375196> but was:<2931858844>
junit.framework.AssertionFailedError: incorrect return value expected:<784375196> but was:<2931858844>
at com.kenai.jffi.InvokerTest.invokeOO(Unknown Source)
at com.kenai.jffi.InvokerTest.invokeNativeOO(Unknown Source)
Testcase: invokeHeapOO took 0.002 sec
FAILED
incorrect return value expected:<784375196> but was:<2931858844>
junit.framework.AssertionFailedError: incorrect return value expected:<784375196> but was:<2931858844>
at com.kenai.jffi.InvokerTest.invokeOO(Unknown Source)
at com.kenai.jffi.InvokerTest.invokeHeapOO(Unknown Source)
Testcase: invokeNativeDO took 0.004 sec
FAILED
incorrect return value expected:<784375196> but was:<2931858844>
junit.framework.AssertionFailedError: incorrect return value expected:<784375196> but was:<2931858844>
at com.kenai.jffi.InvokerTest.invokeDO(Unknown Source)
at com.kenai.jffi.InvokerTest.invokeNativeDO(Unknown Source)
Testcase: invokeHeapDO took 0.002 sec
FAILED
incorrect return value expected:<784375196> but was:<2931858844>
junit.framework.AssertionFailedError: incorrect return value expected:<784375196> but was:<2931858844>
at com.kenai.jffi.InvokerTest.invokeDO(Unknown Source)
at com.kenai.jffi.InvokerTest.invokeHeapDO(Unknown Source)
Testcase: invokeNativeOD took 0.002 sec
FAILED
incorrect return value expected:<784375196> but was:<2931858844>
junit.framework.AssertionFailedError: incorrect return value expected:<784375196> but was:<2931858844>
at com.kenai.jffi.InvokerTest.invokeOD(Unknown Source)
at com.kenai.jffi.InvokerTest.invokeNativeOD(Unknown Source)
Testcase: invokeHeapOD took 0.002 sec
FAILED
incorrect return value expected:<784375196> but was:<2931858844>
junit.framework.AssertionFailedError: incorrect return value expected:<784375196> but was:<2931858844>
at com.kenai.jffi.InvokerTest.invokeOD(Unknown Source)
at com.kenai.jffi.InvokerTest.invokeHeapOD(Unknown Source)
Testcase: string_equals_heap took 0.008 sec
Testsuite: com.kenai.jffi.JSR292Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.723 sec
Testcase: testInvokeDynamicAvailable took 0.569 sec
Testsuite: com.kenai.jffi.LibraryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.354 sec
Testcase: dlopen took 0.2 sec
Testsuite: com.kenai.jffi.MemoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.427 sec
Testcase: zeroTerminatedByteArray took 0.229 sec
Testcase: zeroTerminatedByteArrayWithLength took 0.002 sec
Testcase: putZeroTerminatedByteArray took 0.002 sec
Testcase: allocateUnaligned took 0.002 sec
Testsuite: com.kenai.jffi.NumberTest
Testsuite: com.kenai.jffi.ObjectParameterInfoTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.716 sec
Testcase: testCache took 2.575 sec
Testsuite: com.kenai.jffi.PlatformTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.325 sec
Testcase: isSupported took 0.171 sec
Testsuite: com.kenai.jffi.StructTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.759 sec
Testcase: s8s32ReturnWithDefaultBuffer took 0.34 sec
Testcase: s8s32ReturnWithProvidedBuffer took 0.001 sec
Testcase: s8s32ReturnWithProvidedBufferAndOffset took 0.002 sec
Testcase: s8UsingForeign took 0.001 sec
Testcase: s8UsingStruct took 0.001 sec
Testcase: s8s32UsingForeign took 0.001 sec
Testcase: s8s32UsingStruct took 0.001 sec
Testcase: structS8S32ParameterFromArray took 0.008 sec
Testcase: structS8S32ParameterFromPointer took 0.052 sec
Testcase: structS8S32ParameterFromArrayAndS32 took 0.002 sec
Testcase: structS8S32ParameterFromPointerAndS32 took 0.001 sec
Testcase: structS8S32ParameterFromArrayAndS64 took 0.002 sec
Testcase: structS8S32ParameterFromPointerAndS64 took 0.001 sec
Testcase: s8s32_set took 0.002 sec
Testsuite: com.kenai.jffi.TypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.309 sec
Testcase: lookupBuiltinType took 0.156 sec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment