zeratax / yacx

Yet Another CudaExecutor - wrapper to easily compile and execute cuda kernels
https://zeratax.github.io/yacx
MIT License
8 stars 4 forks source link

junit tests cmak, ci #86

Closed LukasSiefke closed 4 years ago

LukasSiefke commented 4 years ago

die junit tests sind jetzt fertig. Wäre cool, wenn man das wieder mit cmake ausführen könnte.

Die Tests sind folgendermaßen ausführbar:

cd $path/../build
rm -f *.java
cp $path/src/java/*.java $path/../build/
cp $path/examples/kernels/* $path/../build/
cp $path/test/java/*.java $path/../build/
javac -cp junit-platform-console-standalone-1.5.2.jar *.java
java -Djava.library.path=$path/../build -jar junit-platform-console-standalone-1.5.2.jar --class-path ../build/ --scan-class-path

Benötigt wird dabei junit-platform-console-standalone (https://mvnrepository.com/artifact/org.junit.platform/junit-platform-console-standalone)