junit tests cmak, ci
LukasSiefke opened this issue · comments
Lukas Siefke commented
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)