summaryrefslogtreecommitdiff
path: root/ci/collect-testdir
blob: fa08bdd22b3e7f9bd022c9cf687df0b7f03a9229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

if [ -d testdir ]; then
    testdir=testdir
elif [ -d build/testdir ]; then
    testdir=build/testdir
else
    echo "No testdir found" >&2
    exit 0
fi

tar -caf testdir.tar.xz $testdir