Commit 5d1e8f82 authored by Christian Kastner's avatar Christian Kastner

Define an autopkgtest that runs the examples from the documentation

parent bda373b9
Tests: executables
Depends: mpikmeans-tools
# Run the examples from the man pages. Assumes $ADTTMP is set, see
# /usr/share/doc/autopkgtest/README.package-tests.gz
set -e
# Copy the example data to $ADTTMP, and run the examples.
cp example.txt "$ADTTMP"
cd "$ADTTMP"
mpi_kmeans --k 2 --data example.txt --output clusters.txt
mpi_assign --data example.txt --cluster clusters.txt --assignment assignment.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment