#!/bin/sh # autopkgtest: compile the round-trip checker against the installed dev package # and run it. Validates the text-encoding fixes (Debian #213239 and the # companion UTF-16BE path). set -e WORKDIR="${AUTOPKGTEST_TMP:-$(mktemp -d)}" cp debian/tests/roundtrip.cpp "$WORKDIR/" cd "$WORKDIR" # The dev package ships the linker name libid3.so (-> -lid3) and the headers # under /usr/include/id3. g++ -O2 -Wall -o roundtrip roundtrip.cpp -lid3 -lz ./roundtrip