Skip to content

Instantly share code, notes, and snippets.

@aaronbartell
Created April 16, 2015 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronbartell/f0d2f0e995ce930d6673 to your computer and use it in GitHub Desktop.
Save aaronbartell/f0d2f0e995ce930d6673 to your computer and use it in GitHub Desktop.
$ ant test
Buildfile: /home/abartell/git/jffi/build.xml
-pre-init:
-init-vars:
-post-init:
-init:
-pre-compile:
-do-compile:
-generate-version-source:
[echo] Generating Version.java
-generate-version:
[javac] Compiling 1 source file to /home/abartell/git/jffi/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] 1 warning
-compile-java:
-generate-native-headers:
-build-native-library:
[exec] gmake: Nothing to be done for 'all'.
-post-compile:
compile:
-pre-compile-test:
-do-compile-test:
[mkdir] Created dir: /home/abartell/git/jffi/build/test/classes
[javac] Compiling 12 source files to /home/abartell/git/jffi/build/test/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 warning
-build-native-testlib:
[exec] gcc -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses -I"/home/abartell/git/jffi/build" -fPIC -pthread -D_REENTRANT -c libtest/StructTest.c -o /home/abartell/git/jffi/build/libtest/StructTest.o
[exec] gcc -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses -I"/home/abartell/git/jffi/build" -fPIC -pthread -D_REENTRANT -c libtest/NumberTest.c -o /home/abartell/git/jffi/build/libtest/NumberTest.o
[exec] gcc -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses -I"/home/abartell/git/jffi/build" -fPIC -pthread -D_REENTRANT -c libtest/StringTest.c -o /home/abartell/git/jffi/build/libtest/StringTest.o
[exec] gcc -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses -I"/home/abartell/git/jffi/build" -fPIC -pthread -D_REENTRANT -c libtest/BufferTest.c -o /home/abartell/git/jffi/build/libtest/BufferTest.o
[exec] gcc -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses -I"/home/abartell/git/jffi/build" -fPIC -pthread -D_REENTRANT -c libtest/LastErrorTest.c -o /home/abartell/git/jffi/build/libtest/LastErrorTest.o
[exec] gcc -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses -I"/home/abartell/git/jffi/build" -fPIC -pthread -D_REENTRANT -c libtest/VariadicTest.c -o /home/abartell/git/jffi/build/libtest/VariadicTest.o
[exec] gcc -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses -I"/home/abartell/git/jffi/build" -fPIC -pthread -D_REENTRANT -c libtest/EnumTest.c -o /home/abartell/git/jffi/build/libtest/EnumTest.o
[exec] gcc -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses -I"/home/abartell/git/jffi/build" -fPIC -pthread -D_REENTRANT -c libtest/PointerTest.c -o /home/abartell/git/jffi/build/libtest/PointerTest.o
[exec] gcc -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses -I"/home/abartell/git/jffi/build" -fPIC -pthread -D_REENTRANT -c libtest/GlobalVariable.c -o /home/abartell/git/jffi/build/libtest/GlobalVariable.o
[exec] gcc -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses -I"/home/abartell/git/jffi/build" -fPIC -pthread -D_REENTRANT -c libtest/ReferenceTest.c -o /home/abartell/git/jffi/build/libtest/ReferenceTest.o
[exec] gcc -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses -I"/home/abartell/git/jffi/build" -fPIC -pthread -D_REENTRANT -c libtest/Benchmark.c -o /home/abartell/git/jffi/build/libtest/Benchmark.o
[exec] gcc -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses -I"/home/abartell/git/jffi/build" -fPIC -pthread -D_REENTRANT -c libtest/ClosureTest.c -o /home/abartell/git/jffi/build/libtest/ClosureTest.o
[exec] gcc -o /home/abartell/git/jffi/build/libtest.a -fPIC -pthread -shared -static-libgcc /home/abartell/git/jffi/build/libtest/StructTest.o /home/abartell/git/jffi/build/libtest/NumberTest.o /home/abartell/git/jffi/build/libtest/StringTest.o /home/abartell/git/jffi/build/libtest/BufferTest.o /home/abartell/git/jffi/build/libtest/LastErrorTest.o /home/abartell/git/jffi/build/libtest/VariadicTest.o /home/abartell/git/jffi/build/libtest/EnumTest.o /home/abartell/git/jffi/build/libtest/PointerTest.o /home/abartell/git/jffi/build/libtest/GlobalVariable.o /home/abartell/git/jffi/build/libtest/ReferenceTest.o /home/abartell/git/jffi/build/libtest/Benchmark.o /home/abartell/git/jffi/build/libtest/ClosureTest.o -lm
-post-compile-test:
-compile-test:
test:
[mkdir] Created dir: /home/abartell/git/jffi/build/test/results
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:
[junit] Caused by: java.lang.ClassNotFoundException:
[junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:666)
[junit] at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:942)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:869)
[junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:336)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:847)
[junit] Running com.kenai.jffi.Batch-With-Multiple-Tests
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
[junit] Tests FAILED (crashed)
BUILD SUCCESSFUL
Total time: 53 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment