zeratax / yacx

Yet Another CudaExecutor - wrapper to easily compile and execute cuda kernels

Home Page:https://zeratax.github.io/yacx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

junit tests cmak, ci

LukasSiefke opened this issue · comments

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)