summaryrefslogtreecommitdiff
path: root/travis/test.sh
blob: eaec2ec39839fa98ec8405b1e241300bbf200864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -eu

rm -rf build_travis
mkdir build_travis
cd build_travis
cmake ..
make dist
cd ..

unzip -l  build_travis/proj-data*.zip | tail -n +4 | head -n -2 | awk '{print $4}' | sort > /tmp/got_main.lst
if ! diff -u travis/expected_main.lst /tmp/got_main.lst; then
    echo "Got difference in proj-data"
    exit 1;
fi