File: compilation

package info (click to toggle)
c-siphash 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 148 kB
  • sloc: ansic: 269; sh: 10; makefile: 3
file content (16 lines) | stat: -rwxr-xr-x 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e
set -u

cp -r src/test*.c "$AUTOPKGTEST_TMP"

cd "$AUTOPKGTEST_TMP"

echo test-api.c
gcc test-api.c $(pkgconf libcsiphash-1 --libs) -o test-api
./test-api

echo test-basic.c
gcc test-basic.c $(pkgconf libcsiphash-1 --libs) -o test-basic
./test-basic