File: msrepack

package info (click to toggle)
libmseed 2.19.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,680 kB
  • sloc: ansic: 10,779; makefile: 133; sh: 112
file content (23 lines) | stat: -rw-r--r-- 582 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# autopkgtest check: Build and run a program against libmseed, to verify that the
# headers and pkg-config file are installed correctly

set -e

cp -v debian/tests/msrepack-output.sha512 "$AUTOPKGTEST_TMP"

cd "$AUTOPKGTEST_TMP"

cp -v /usr/share/doc/libmseed-dev/examples/Makefile \
      /usr/share/doc/libmseed-dev/examples/msrepack.c \
      /usr/share/doc/libmseed-dev/examples/test.mseed .

make msrepack

[ -x msrepack ]

./msrepack -o msrepack-output.mseed test.mseed 2>&1

cp -v msrepack-output.mseed "$AUTOPKGTEST_ARTIFACTS"

sha512sum -c msrepack-output.sha512