File: build

package info (click to toggle)
fsplib 0.14-5.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 236 kB
  • sloc: ansic: 1,581; python: 117; makefile: 11; sh: 8
file content (16 lines) | stat: -rwxr-xr-x 331 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# autopkgtest check: Build and run a program against fsplib, to verify that the
# headers file are installed correctly

set -e

SRCDIR=$PWD
WORKDIR=$(mktemp -d)
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cd $WORKDIR

gcc -o fsptest $SRCDIR/test.c -lfsplib
echo "build: OK"
[ -x fsptest ]
#./fsptest
#echo "run: OK"